Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing query criteria from a from using SQL 2000 and Access 200

Status
Not open for further replies.

millos21

Programmer
May 10, 2001
1
US
Hello,

I have an Access .adp linked to SQL Server 2000. I have a form in Access and I want to create a query where the referencing value comes from the form.

In regular .mdb file I would create a query and in the criteria field I would reference the value from what is in the form like this:
Forms![Form1]![fieldname]

how can I do this in an .adp file. I know I have to write some code passing a pass-through query to a stored procedure, I just don't know how to create this code.

Thanks,



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top