R
raj
Hi,
I am using the following code to relink the oracle tables during my
application startup
With CurrentDb
TableDefs.Append _
.CreateTableDef(ADestinationName, 0, _
ASourceName, CONNECTION_ODBC)
End With
Where
- ADestinationName is the name of the linked table in Acces
- ASourceName is the qualified (schema.name) of the table or view in Oracle.
- CONNECTION_ODBC is the connection string (see connectionstrings.com)
But when I quit and restart the application, the application by default
connects to the previous dbq/dns.
I every time need to click Tools > Database Utilities > Compact and Repair
Database to take the news DBQ or connection string.
Is there any way i could clear the cache or close the connection properly?
I am using the following code to relink the oracle tables during my
application startup
With CurrentDb
TableDefs.Append _
.CreateTableDef(ADestinationName, 0, _
ASourceName, CONNECTION_ODBC)
End With
Where
- ADestinationName is the name of the linked table in Acces
- ASourceName is the qualified (schema.name) of the table or view in Oracle.
- CONNECTION_ODBC is the connection string (see connectionstrings.com)
But when I quit and restart the application, the application by default
connects to the previous dbq/dns.
I every time need to click Tools > Database Utilities > Compact and Repair
Database to take the news DBQ or connection string.
Is there any way i could clear the cache or close the connection properly?