Lookup ID/Problems with IDs not matching up

  • Thread starter Thread starter Tracy
  • Start date Start date
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!
 
Look in VBA Help for the OpenForm method. Click on Example. It shows
exactly how to do that
 
Back
Top