I posted before, I had not gotten a response
Here is my code :
CMID = Me.CombinedID
Forms![FRMMAIN]![CombinedID].SetFocus
DoCmd.GoToRecord acForm, FRMMAIN.CombinedID, acGoTo, CMID
This is on the onclick event of a command button on a subform.
the plan is to make the main form "Frmmain" to jump to the record that was displayed on the subform.
What am I doing wrong?
Here is my code :
CMID = Me.CombinedID
Forms![FRMMAIN]![CombinedID].SetFocus
DoCmd.GoToRecord acForm, FRMMAIN.CombinedID, acGoTo, CMID
This is on the onclick event of a command button on a subform.
the plan is to make the main form "Frmmain" to jump to the record that was displayed on the subform.
What am I doing wrong?