Refresh Method

Refreshes the contents of the collection.

Applies to objects: Fields, Indexes, Relations, TableDefs.

Syntax

object.Refresh()

The Refresh method syntax has these parts:

Part Description
object Required. An instance of one of the object collections, listed above.

Remarks

The Refresh method is called automatically for all of the collections if necessary. The method synchronizes the contents of the collection with the corresponding database structure. Calling the Refresh method for the objects listed above guarantees that they will correspond to all latest changes.

Example

.......

 

See Also

Fields Object, Indexes Object, Relations Object, TableDefs Object.