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

go to to specific record

Status
Not open for further replies.

nessaguin

Programmer
Mar 13, 2001
1
GB
Hello,
I've had a quick search but I can't seem to find any info on what I'm hoping is an easy question ...
I have a form with subforms. The main form is keyed with an auto-number field. How do I add the function to be able to jump to a certain record number in the main form - i.e. rather than having to scroll through all of the records.
Apologies if this is straitforward but I can't work it out.
ta
regards,
Mick
 
Of course it isn't good coding practice but you could use a macro FindRecord....there is VB script as well.....
 
Of course there are situations where typing the record# into the record selector won't do. In those cases I use the VBA command...

DoCmd.GoToRecord ,,acGoTo ,MyRecordNumber

For if you need to go to a record in a subform I set focus to the subform first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top