FindFreeTimeDialog (NotesUIDocument - LotusScript®)

Brings up a "Free Time" dialog box based on the current document.

Defined in

NotesUIDocument

Syntax

Call notesUIDocument .FindFreeTimeDialog( reqPeopleItems$ , optPeopleItems$ , reqRoomsItems$ , optRoomsItems$ , reqResourcesItems$ , optResourcesItems$ , removedPeopleItems$ , startDateItem$ , endDateItem$ )

Parameters

reqPeopleItem$

String. Name of a Text field in the current document that contains the names of people required at the meeting.

optPeopleItems$

String. Name of a Text field in the current document that contains the names of people whose attendance is optional.

reqRoomsItems$

String. Name of a Text field in the current document that contains the names of rooms required for the meeting.

optRoomsItems$

String. Name of a Text field in the current document that contains the names of optional rooms.

reqResourcesItems$

String. Name of a Text field in the current document that contains the names of resources required for the meeting.

optResourcesItems$

String. Name of a Text field in the current document that contains the names of optional resources.

removedPeopleItems$

String. Name of a Text field in the current document that contains the names of people to remove from the attendance list.

startDateItem$

String. Name of a Date/Time field in the current document that contains the start time for the meeting. You must specify the StartDateTime.

endDateItem$

String. Name of a Date/Time field in the current document that contains the end time for the meeting. You must specify the EndDateTime. The EndDateTime must be later than the StartDateTime.

Usage

This method is valid only when the document is in Edit mode.

If you don't need a parameter, specify it as an empty string.

The meeting time should not span midnight.

This method causes the following sequence:

  • The "Free Time" dialog box appears using the current values in the specified fields in the document (except removedPeopleItems$).
  • The user can adjust values in the dialog box.
  • If the user selects OK, the values in the dialog box are written back to the specified fields the document (including removedPeopleItems$).

See also the FindFreeTimeDialogEx method, which allows the specification of multiple fields and has a return value.

Example