Hi All,
I'm new to working with SQL server, and have been having a bit of trouble creating my Pass through query in Access 97.
I've set up the database as an ODBC System DSN
and have successfully been able to open the tables.
However when I create a normal SELECT query to the table I have to manually enter the username and password each time the DB is opened.
So I'm thinking a Passthrough Query, which can store that info in the ODBC Connection String is the way to get around this.
I've set up the ODBC connection part (using the builder), and entered my SQL statement "SELECT * FROM Table_Name;"
but I get an ODBC Call failed Error; "Invalid object name 'Table_Name'. (#208)"
Can any one help?
Thanks in advance,
Remy Hundreds of ways to do things with VB, and learning new ways every day.
I'm new to working with SQL server, and have been having a bit of trouble creating my Pass through query in Access 97.
I've set up the database as an ODBC System DSN
and have successfully been able to open the tables.
However when I create a normal SELECT query to the table I have to manually enter the username and password each time the DB is opened.
So I'm thinking a Passthrough Query, which can store that info in the ODBC Connection String is the way to get around this.
I've set up the ODBC connection part (using the builder), and entered my SQL statement "SELECT * FROM Table_Name;"
but I get an ODBC Call failed Error; "Invalid object name 'Table_Name'. (#208)"
Can any one help?
Thanks in advance,
Remy Hundreds of ways to do things with VB, and learning new ways every day.