S
steve
I have a main form which shows Customer details and within the form a
Subform which shows a table of the customers follow-up dates.
On the main form I wish to have a command button that will set the cursor to
add a new entry to the follow-up dates table for the customer.
At present I keep getting " the object "tblfollowupdates subform" is not
open" when I attempt this
Access help says that I can use Gotocontrol action to move to a subform and
then use Gotorecord action.
The code is:
DoCmd.GoToControl "tblfollowupdates subform"
DoCmd.GoToRecord acDataForm, "tblfollowupdates subform", acNewRec
Has anyone got any suggestions where I am going wrong?.
Many thanks
SteveT
Subform which shows a table of the customers follow-up dates.
On the main form I wish to have a command button that will set the cursor to
add a new entry to the follow-up dates table for the customer.
At present I keep getting " the object "tblfollowupdates subform" is not
open" when I attempt this
Access help says that I can use Gotocontrol action to move to a subform and
then use Gotorecord action.
The code is:
DoCmd.GoToControl "tblfollowupdates subform"
DoCmd.GoToRecord acDataForm, "tblfollowupdates subform", acNewRec
Has anyone got any suggestions where I am going wrong?.
Many thanks
SteveT