can i have a form open to a certain record

R

reservedbcreater

for example the first form asks the user to enter an ID . (ID is an
autonumber which happens to be equal to record #). then the user clicks
go button and i want it to open the general information form at that
certain record.
 
F

fredg

for example the first form asks the user to enter an ID . (ID is an
autonumber which happens to be equal to record #). then the user clicks
go button and i want it to open the general information form at that
certain record.

Code the command button click event:
DoCmd.OpenForm "OtherForm", , , "[RecordID] = " & [ID]
 
R

reservedbcreater

thanks i am picking up access developers hand book so hopefully i wont post
such simple questions much longer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top