Description: | Lets the caller edit the properties of the item via the standard dialog box. |
Syntax: | object.Edit() |
Parameters: | |
object | Required, the item |
Remarks: | Pops up a dialog box, letting the caller manually change the properties of the object. The dialog box will not appear if the caller does not have at least Edit access to the item. The dialog box will also not appear if session.SetAllowUI(False) has been previously called. |
Returns: | True if the changes were committed, False otherwise. |
Example: |
Dim user As Object
Dim appts As Object
Dim appt As Object
Set session = CreateObject("OfficeTalk.Session")
Set user = session.Logon(login name, password)
Set user = session.FindUserByLoginName("fred")
Set appts = user.Appointments
Set appt = appts.Add
If appt.Edit Then
appt.Update
End If