Refresh Method
Refreshes the data from the database, discarding changes.
Visual Basic
Public Sub Refresh() 

Objects of classes that implement the IBaseField2 Object have an AutoUnlock Property. If AutoUnlock is true the object is unlocked on a Refresh operation. If AutoUnlock is false, the object remains locked from the call to LockObject until a call to UnlockObject or until the connection is logged off the project.

By default, AutoUnlock is true.

The minimum wait between Refresh calls is three seconds. If there are two calls to Refresh within three seconds, the second call has no effect.

See Also