C
Chilidog
I'm trying to pass a value from my subform and have the mainform display that
record. I have tried:
Me.Parent![mymainform].SetFocus
DoCmd.GoToRecord acDataForm, "mymainform", acGoTo, recordID_frm_Subform
That ends with a invalid use of Me keyword.
I have also passed the record number to an textbox on the mainform and then
tried
DoCmd.GoToRecord acDataForm, "mymainform", acGoTo, recordID_now_on_Mainform
And get "Cannot go to that specifed record.
Any help would be very appreciated.
record. I have tried:
Me.Parent![mymainform].SetFocus
DoCmd.GoToRecord acDataForm, "mymainform", acGoTo, recordID_frm_Subform
That ends with a invalid use of Me keyword.
I have also passed the record number to an textbox on the mainform and then
tried
DoCmd.GoToRecord acDataForm, "mymainform", acGoTo, recordID_now_on_Mainform
And get "Cannot go to that specifed record.
Any help would be very appreciated.