Button to go to a specific record in a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have two forms. I need to use a command button to go to a second form's
specific record.

a. In the wizard, when it is time to chose the fields to match, there is
nothing in the left side of the screen.

b. How do I do this in code.

Thnaks for all of your help.

Joe
 
In the Click event of the command button, use the primary key field of the
record you want to open in the second form in the OpenForm Where argument.
This is a good example in VBA Help.
 

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

Back
Top