Query to Form View

  • Thread starter Thread starter Eric Starn
  • Start date Start date
E

Eric Starn

I have created a table that holds records of assets for my company. I have
also created a form for data entry so a user can add a new asset to the
table. I have created queries to look up records in that table for editing
purposes.
My Question

Is there away to run a query for a specific record in the asset table and
have it open up in a form like my data entry form?

I will appreciate any help I can get.
 
You can use the whereCondition argument of the DoCmd.OpenForm:


DoCmd.OpenForm "form1", whereCondition:= "ClientID=" & whichClientID



Note the special syntax := which allows to use named arguments.



Vanderghast, Access MVP
 
Back
Top