R
raj
Hi experts,
I create SQL pass through queires via my code. But they are not refreshing
properly. i.e.
1st time i connect to 'A' database server and exit. 2nd time I relaunch the
application depending up the user's choice I connect to 'B' or 'C' db server.
But when i execute the pass through query via forms or design view, it always
shows me the previous server's data i.e. here server 'A'.
But in the property of the pass-through query in design view shows the
latest connection string associated with it.
e.g. though its connection string shows
ODBC;DSN=CAS;UID=CAS$SETUP;PWD=password;DBQ=CASB;
on executing the query the results are from
ODBC;DSN=CAS;UID=CAS$SETUP;PWD=password;DBQ=CASA; i.e. previous connection.
I have closed the application and reopened it, but still it always shows the
previous connected database's data.
pls help me to refresh.
I create SQL pass through queires via my code. But they are not refreshing
properly. i.e.
1st time i connect to 'A' database server and exit. 2nd time I relaunch the
application depending up the user's choice I connect to 'B' or 'C' db server.
But when i execute the pass through query via forms or design view, it always
shows me the previous server's data i.e. here server 'A'.
But in the property of the pass-through query in design view shows the
latest connection string associated with it.
e.g. though its connection string shows
ODBC;DSN=CAS;UID=CAS$SETUP;PWD=password;DBQ=CASB;
on executing the query the results are from
ODBC;DSN=CAS;UID=CAS$SETUP;PWD=password;DBQ=CASA; i.e. previous connection.
I have closed the application and reopened it, but still it always shows the
previous connected database's data.
pls help me to refresh.