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

SQL query used in Access Database

Status
Not open for further replies.

msbi123

Programmer
Jan 9, 2004
1
US
I have problem selecting some of the fields using SQL Query in access database.
When I execute query in the Access SQL View it runs fine but when I take the same query to the asp page it doesn’t pool any records. It took me long time to go field by field and I finally found my problem. When I take the Auto_pkey(primary key) field out of the SQL it works fine.
How can I make this query works with the Auto_pkey primaty key for Auto table. I need to pass this field to other pages.
Please help:(
 
it would help if you posted your query, as this could be due to a couple of reasons.

If you are linking your tables from a SQL (or other) Server, then you should really be creating views on the SQL server and linking the view in an Access ADP file.

I presume you are trying an UPDATE query?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top