I have a main form - I want to put a button on the main to jump ahead 10 records in a subform which is in datasheet view,
the main form is called "trans_table"
the sub is "main3"
I'm trying this code I got from the Access HELP files.
when click the button I get a message saying the object main3 isn't open -0h, but it is!
I can navigate through it using it's own built in buttons.
I've tried the second argument as acDataForm, and acForm.
I've tried Me.main3, also to no avail.
Any help is deeply appreciated.
thanks,
Robert
the main form is called "trans_table"
the sub is "main3"
I'm trying this code I got from the Access HELP files.
Code:
DoCmd.GoToRecord acForm, "trans_table.main3", acGoTo, 10
when click the button I get a message saying the object main3 isn't open -0h, but it is!
I can navigate through it using it's own built in buttons.
I've tried the second argument as acDataForm, and acForm.
I've tried Me.main3, also to no avail.
Any help is deeply appreciated.
thanks,
Robert