E
EricStumpf
I've researched this to death, and many sources point to the same answer, yet
I keep getting the DSN prompt box when I try to run a query with the user ID
& pw imbedded in the query. (I'm trying to get passed needing to manually
enter a password when I run a Scheduled Task. - My system is set up that I do
not have the option of saving a password.)
This is what I have in the Source Connect Str
ODBC;DSN=edwprdi0;UID=xxx;PWD=xxx;
When I run as a pass-thru, I just get the prompt asking for a DSN
SELECT ARMUV006.LEAD_CAR_INIT, ARMUV006.LEAD_CAR_NBR
FROM ARMUV006 IN '' [ODBC;DSN=edwprdi0;UID=xxx;PWD=xxx;]
WHERE (((ARMUV006.LEAD_CAR_INIT)="SP") AND ((ARMUV006.LEAD_CAR_NBR)=999999));
If I leave the orignial table name ARMDVP00_ARMUV006 in the SQL, an error is
returned stating the table or query could not be found.
SELECT ARMUV006.LEAD_CAR_INIT, ARMUV006.LEAD_CAR_NBR
FROM ARMDVP00_ARMUV006 AS ARMUV006 IN ''
[ODBC;DSN=edwprdi0;UID=OADM353;PWD=ANGELJ;]
WHERE (((ARMUV006.LEAD_CAR_INIT)="SP") AND ((ARMUV006.LEAD_CAR_NBR)=999999));
I keep getting the DSN prompt box when I try to run a query with the user ID
& pw imbedded in the query. (I'm trying to get passed needing to manually
enter a password when I run a Scheduled Task. - My system is set up that I do
not have the option of saving a password.)
This is what I have in the Source Connect Str
ODBC;DSN=edwprdi0;UID=xxx;PWD=xxx;
When I run as a pass-thru, I just get the prompt asking for a DSN
SELECT ARMUV006.LEAD_CAR_INIT, ARMUV006.LEAD_CAR_NBR
FROM ARMUV006 IN '' [ODBC;DSN=edwprdi0;UID=xxx;PWD=xxx;]
WHERE (((ARMUV006.LEAD_CAR_INIT)="SP") AND ((ARMUV006.LEAD_CAR_NBR)=999999));
If I leave the orignial table name ARMDVP00_ARMUV006 in the SQL, an error is
returned stating the table or query could not be found.
SELECT ARMUV006.LEAD_CAR_INIT, ARMUV006.LEAD_CAR_NBR
FROM ARMDVP00_ARMUV006 AS ARMUV006 IN ''
[ODBC;DSN=edwprdi0;UID=OADM353;PWD=ANGELJ;]
WHERE (((ARMUV006.LEAD_CAR_INIT)="SP") AND ((ARMUV006.LEAD_CAR_NBR)=999999));