MS Access, by enabling the
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPCio95w3GM1uZ3hAFme7H0eZJv_MqpqSRp3RVohG7cw3Rqk7WTD5CLAKj_Q5zHY77RH2MSbtPZDtMCeG49EpF674p7iWF6aoQNkwVyjbNNq6FSQjNYXhLeYGs49mOC53iZMKzLWBA6Sj0/s1600/use+control+wiz.jpg)
We will create the command button as depicted here
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4N1dxBKbj_7xpBLusTBJWkguDKKmCuPWe10K0gWfZ5Z-x6nGLEh_kllB8aXeG8Kx5aFn6annereVUrgiRg0_FK4jZB3cwoPzC853SF97coipYRxobVX6k5X2Of2SpObGBxZsdt3fKvj8S/s1600/index.9.jpg)
in each form we have created. Do the following steps:
- Open frmMainAccount in Design View and disable
, first.
- On the FormHeader, add Form Control Button by clicking Design tab and Button icon in Controls group.
- Go to Command Button property sheet and set the following properties:
- Name = GoToFirst
- Caption = First
- Picture = select Go To First from the available list of picture
- ControlTipText= Go to first record
- On Click = =Global_First()
- Do step number 2 for the following commands:
- Go to previous, Command Button property:
- Name = GoToPrevious
- Caption = Prev
- Picture = select Go To Previous from the available list of picture
- ControlTipText= Go to previous record
- On Click = =Global_Previous()
- Add new record, Command Button property:
- Name = AddNewRecord
- Caption = Add
- Picture = select Go To New from the available list of picture
- ControlTipText= Add new record
- On Click = =Global_AddNew()
- Go to next, Command Button property:
- Name = GoToNext
- Caption = Next
- Picture = select Go To Next from the available list of picture
- ControlTipText= Go to next record
- On Click = =Global_Next()
- Go to last, Command Button property:
- Name = GoToLast
- Caption = Last
- Picture = select Go To Last from the available list of picture
- ControlTipText= Go to last record
- On Click = =Global_Last()
- Close form, Command Button property:
- Name = CloseForm
- Caption = Close
- Picture = select Exit Doorway from the available list of picture
- ControlTipText= Close this form
- On Click = =Global_Close()
- Delete record, Command Button property:
- Name = DeleteRecord
- Caption = Del
- Picture = select Delete Record from the available list of picture
- ControlTipText= Delete current record
- On Click = =Global_Deletion()
- Undo last action, Command Button property:
- Name = UndoLastAction
- Caption = Undo
- Picture = select Undo from the available list of picture
- ControlTipText= Undo last action
- On Click = =Global_Undo()
- Find record, Command Button property:
- Name = FindRecord
- Caption = Find
- Picture = select Binoculars (Find) from the available list of picture
- ControlTipText= Find record
- On Click = =Global_Find()
- Go to previous, Command Button property:
- Go to form properties and set the following properties:
- Caption = Chart of Account - Main Account
- Record Selectors = No
- Navigation Button = No
- Final display will lok like this:
No comments :
Post a Comment