Open topic with navigation
Public Sub Post( _ Optional ByVal UndoOnFailure As Boolean = True _ )
If True, then all changes to the object in memory are rolled back if the Post fails.
If False, failure of the Post does not effect the values in memory.
Call Post after creating or changing an object and before the object is released. Objects are released in many ways, for example: by going out of scope, by ending the connection, or by being explicitly released in your code.
Objects of classes that implement the IBaseField2 Object have an AutoUnlock Property. If AutoUnlock is true the object is unlocked on a Post 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.