(Contents)(Previous)(Next)

Update()

Description: Saves changes to this object
Syntax: object.Update()
Parameters:
object Required, the item
Remarks: If any changes have been made to the object, this method saves those changes. Update() is automatically called for you when the object goes out of scope. It is useful, however, if you require that the state of the object be saved before the object goes out of scope, for example, if you create a new object, you must call Update on the object prior to querying the item's properties.
Returns: Nothing
Example:
Set appts = user.Appointments

Set appt = appts.Add

appt.Name = "Write report"

appt.Update

MsgBox appt.Name


Next