Hi,
I have a form called Certificates with a subform on it called subClient.
The subform is located on a tab control on the first tab.
I have added a button below the subform to add a new record to it I'm using:
Dim stDocName As String
stDocName = "Forms![certificates]![subClient]"
DoCmd.GoToRecord acDataForm, stDocName, acNewRec
I just get an error saying The object 'Forms![certificates]![subClient]' isn't open
Can anybody tell me why?
----------
Neil
I have a form called Certificates with a subform on it called subClient.
The subform is located on a tab control on the first tab.
I have added a button below the subform to add a new record to it I'm using:
Dim stDocName As String
stDocName = "Forms![certificates]![subClient]"
DoCmd.GoToRecord acDataForm, stDocName, acNewRec
I just get an error saying The object 'Forms![certificates]![subClient]' isn't open
Can anybody tell me why?
----------
Neil
Last edited: