ted.martin
Registered User.
- Local time
- Today, 01:52
- Joined
- Sep 24, 2004
- Messages
- 743
I have a Main form with a Sub-Form in single form view.
The subform is showing the last record.
I have a button on the Main Form which when pressed I want to change the Sub Form to New Record.
The Button code below errors because I have the wrong of Data Type for one of the arguments.
Any help would as always be appreciated. Thanks
NO NEED - FOUND IT
The subform is showing the last record.
I have a button on the Main Form which when pressed I want to change the Sub Form to New Record.
The Button code below errors because I have the wrong of Data Type for one of the arguments.
Code:
DoCmd.GoToRecord acDataForm, [Forms]![F-Patients].[SF-Rx Final], acNewRec
Any help would as always be appreciated. Thanks
NO NEED - FOUND IT
Code:
Me.SF_Rx_Final.SetFocus
DoCmd.RunCommand acCmdRecordsGoToNew
Last edited: