Navigating data in a subform
I've successfully populated a subform from code on the main form using:
Me.frmSubJobList.Form.RecordSource = strSQL
but I can't see how to navigate the records. This approach looks hopeful..
Me.frmSubJobList.Form.SetFocus
DoCmd.GoToRecord , , acLast
But the first line generates the helpful error, "There is an invalid methond in an expression" !
Can anyone point me in the right direction please!
Thanks
Bob
|