Lookup ID/Problems with IDs not matching up

T

Tracy

I have a main form with 3 command buttons that are used to open up other
forms (all associated with the same table). When reviewing or editing a
record using a Lookup Form accessed by a command button, it opens up the main
form showing the correct ID, but the problem occurs when trying to open up
another form. It doesn't open up to the correct ID, it appears to be opening
up the 1st record. Do I need to add some sort of filter into the other 3
forms so the IDs will match up when reviewing/editing records? Or is there
something else I need to do in order to make this function correctly? Thanks!
 
K

Klatuu

Look in VBA Help for the OpenForm method. Click on Example. It shows
exactly how to do that
 

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