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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving forms RecordSelector to next record in Code

Status
Not open for further replies.

KatGraham

Programmer
Feb 12, 2003
58
0
0
US
I have a table (tblQueries) setup as follows:

ID (autonumber query run order)
txtQueryName (name of query to be run)
chkCompleted (yes/no)

There is a command button on the Mainform that call a function.

The fuction opens a subform (that is tied to tblQueries). The subform is Continuous and a popup.

I then have used a Recordset that updates the chkCompleted box on the table.

I also want to have the forms Record Selector move alone with the active query that is being run.

HOW?
 
I think the command you are looking for is:

DoCmd.RunCommand acCmdSelectRecord


Just make sure that you are &quot;on&quot; the record you want to select... Since you are setting a checkbox, I assume that you are already doing this, but if not, you may need to do a me.recordsetclone.findfirst <<criteria>>, then set your me.bookmark=me.recordsetclone.bookmark

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top