access and sql server via odbc

G

Guest

When writing a pass-thru query in Microsoft Access to access an sql server
via an odbc system dsn, I can write a query like:

select * from MyTable

However, when doing:

select * from MyView

I get an error. Is it not possible to query a view in this manner or is the
syntax different for views?
 
S

Steve Jorgensen

When writing a pass-thru query in Microsoft Access to access an sql server
via an odbc system dsn, I can write a query like:

select * from MyTable

However, when doing:

select * from MyView

I get an error. Is it not possible to query a view in this manner or is the
syntax different for views?

The syntax is right. What error do you get?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top