|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I need to write a query that pulls a single record, then tie the form to the query. I would probably need a parameter in the query that specifies which record to pull, maybe the primary key value from the table (for example, Account_Num). Its for a database that has Access XP on the front end and SQL server 2000 as the engine
I am just not sure on how to do this, can anyone help?? |
|
#2
|
|||
|
|||
|
Can't you set the recordsource to the form you are tying to open you query and then when you open your form set a filter?
This is straight from the MS Access help file DoCmd.OpenForm "Employees", , ,"LastName = 'King'" Hope this helps |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Filter |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|