G
Guest
I wanted to include the OBDC connection string in my select query. In the
Query Properties, I've entered the connection string in the Source Connect
Str field, so my SQL now looks like this:
SELECT DISTINCT MCMCU, MCLDM
FROM PRODDTA_F0006 IN '' [ODBC;DSN=Harvest
Production;UID=SELECT_USER;PWD=xxxxxx;DBQ=AGJD1PDD];
When I run the query, I get an error message telling me the Jet database
engine cannot find the table or query PRODDTA_F0006. If I run the query
without the connection string, it prompts me for the password, and
everything runs fine. Is there any way to include the PW in the connection
string so I don't have to type it in every time?
Query Properties, I've entered the connection string in the Source Connect
Str field, so my SQL now looks like this:
SELECT DISTINCT MCMCU, MCLDM
FROM PRODDTA_F0006 IN '' [ODBC;DSN=Harvest
Production;UID=SELECT_USER;PWD=xxxxxx;DBQ=AGJD1PDD];
When I run the query, I get an error message telling me the Jet database
engine cannot find the table or query PRODDTA_F0006. If I run the query
without the connection string, it prompts me for the password, and
everything runs fine. Is there any way to include the PW in the connection
string so I don't have to type it in every time?