D
Davie P
Hi,
I have a form with 1 single subform "frmHolidaySubform" displaying table
data (i.e. similar to a grid in VB). I also have a number of command buttons;
Add, Delete, Close.
When I press the 'Add' button I want the cursor to go to a new record in the
subform. I currently have the following code, but it will not achieve what I
am trying to do:
Me!frmHolidaySubform.SetFocus
DoCmd.GoToRecord acActiveDataObject, , acNewRec
Also, when I press the 'Delete' button I want to delete the selected record
in the subform. I have no idea how to do this!?!
I cannot use recordsets to achieve this as we will be using third party
software to convert the database and setup auditing on all forms.
Thanks in advance,
Dave
I have a form with 1 single subform "frmHolidaySubform" displaying table
data (i.e. similar to a grid in VB). I also have a number of command buttons;
Add, Delete, Close.
When I press the 'Add' button I want the cursor to go to a new record in the
subform. I currently have the following code, but it will not achieve what I
am trying to do:
Me!frmHolidaySubform.SetFocus
DoCmd.GoToRecord acActiveDataObject, , acNewRec
Also, when I press the 'Delete' button I want to delete the selected record
in the subform. I have no idea how to do this!?!
I cannot use recordsets to achieve this as we will be using third party
software to convert the database and setup auditing on all forms.
Thanks in advance,
Dave