If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Query to Form View
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. |
#2
|
|||
|
|||
Query to Form View
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 "Eric Starn" wrote in message ... 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. |
Thread Tools | |
Display Modes | |
|
|