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!

Need help driving a Query in Access

Status
Not open for further replies.

Bammy217

Programmer
Sep 28, 2002
74
BE
Hi Folks,

I'm trying to build an intranet site for some people, and they have given me an Access DB to work from, and as I'm used to SQL I haven't a clue how to run with it, so please help me!!

Ok here's the problem I have 3 Queries in Access that if executed correctly will run on top of each other (query 1 result = query 2 input and so on...) but how do I fire the stored Query that lies within the Access Database

Thanks,
D. We never fail, we just find that the path to succes is never quite what we thought...
 
Queries in Access are analagous to Views in SQL Server. You'd use them just like a view:

SELECT
whatever fields you want
FROM
AccessQueryName
WHERE
whatever clause you want

Certain rules apply to queries as they do views in SQL Server, so make sure you read the docs about Queries in Access.

-Tek
 
Thanks Tek,
But I know how to write the queries (and have done succesfully) I'm just a BIG Believer in Re-Use...
So I'd rather fire the queries from within the database instead of having to place the query within cold-fusion, sortof like one uses Stored Procedures in SQL. This way I know nothing outside of the Database can be fired, and I have an easy listing of all queries used!

Thanx
D. We never fail, we just find that the path to succes is never quite what we thought...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top