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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Access query parameter to SQL view 1

Status
Not open for further replies.

snoopy80

Technical User
Jun 27, 2001
106
Hi Everyone.

Let say I have an Access DB with a report when run, would request to enter a parameter (as criteria filter) then would display a list of people. For ex: when i open the report it then run a query that will ask me the enter a first name and when I enter John, it will then display a list a people with first name John in the report.
Now I have convert the DB to SQL to hold the tables and use view to replace queries. My question is how can I run this same report from Access to prompt to enter a First Name and then pass it to a SQL view to filter data and display it back with the report?
Thank you for your help.
 
Is this an ADP or MDB? Have you linked the view or are you using a pass-through query?

IMO, never use parameter prompts faq701-6763. Always use controls on forms for user interface.

Duane
Hook'D on Access
MS Access MVP
 
Thanks Duane for your reply.
It's a ADP.
I took a look at your FA701-6763 link. The codes are the SQLcode for Access not for SQL right?
 
I did found what I need through your link. THANKS Duane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top