Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RunCommand acCmdRecordsGoToNext

Status
Not open for further replies.

georgp

Technical User
Mar 28, 2002
96
US
Hi,

I use the 'Application.RunCommand acCmdRecordsGoToNext' a.o. to move to the next record. The code is in a standard module.
This works fine, as long as the form is the main form. For certain reasons, I have to use the form as a subform, and now the code fails, probably because the mainform (which is basically just a frame) is referenced? How should I change the code to get the subform move to the next record?

Thanks for your help, georgp
 
Sorry, I got it. The focus was not on the form. Itworks fine now.

georgp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top