Gets an appointment from Pocket Outlook.
POOM objects
POOMAppointment objectname.GetAppointment (index)
Argument |
Description |
---|---|
objectname |
The name of the POOM object |
index |
Integer for the index of the appointment that you want to get |
POOMAppointment. Use the IsValid function to confirm that a valid appointment was returned.
A user must be logged in to a POOM object to get an appointment from Pocket Outlook.
The following example logs in to the Pocket Outlook session and retrieves the first appointment in the list of appointments:
// global variable: g_poom int li_return g_poom = CREATE POOM // log in to the Outlook session li_return = g_poom.Login() myAppt = g_poom.getAppointment( 1 ) if IsValid(myAppt) then // Use myAppt end if ... g_poom.Logout()
This example retrieves the first appointment and changes the subject and location:
integer li_rc POOMAppointment appt appt = g_poom.GetAppointment( 1 ) appt.Subject += " with Andre" appt.Location = "Blue Room li_rc = appt.update() appt.display()