lss said:
I am looking for a simple way to refresh all of the values in a linked table.
If I put the cursur on the table and click the fields the values will change
but I would like this to happen automatically.
RefreshLink Method
Updates the connection information for a linked table (Microsoft Jet
workspaces only).
Syntax
tabledef.RefreshLink
The tabledef placeholder specifies the TableDef object representing the
linked table whose connection information you want to update.
Remarks
To change the connection information for a linked table, reset the
Connect property of the corresponding TableDef object and then use the
RefreshLink method to update the information. Using RefreshLink method
doesn't change the linked table's properties and Relation objects.
For this connection information to exist in all collections associated
with the TableDef object that represents the linked table, you must use
the Refresh method on each collection.