A
ATD
Hi
I can easily use DAO to update the Connect value for a passthrough QueryDef
object in my database.
However, no matter what I "Refresh" (QueryDefs, TableDefs, Containers, etc),
the new Connect value is not actually used by Access until I reload the
application (not just the database, but the entire application)
Is there a way to force a full refresh?
If I make the change manually, everything works ok - however, I need to be
able to do this in VBA as I need to loop through thousands of external
databases, and changing the setting manually and/or reloading the application
is just not an options
Any thoughts?
I can easily use DAO to update the Connect value for a passthrough QueryDef
object in my database.
However, no matter what I "Refresh" (QueryDefs, TableDefs, Containers, etc),
the new Connect value is not actually used by Access until I reload the
application (not just the database, but the entire application)
Is there a way to force a full refresh?
If I make the change manually, everything works ok - however, I need to be
able to do this in VBA as I need to loop through thousands of external
databases, and changing the setting manually and/or reloading the application
is just not an options
Any thoughts?