GetFirstActivity

Use

This method allows you to retrieve the first activity (either appointment or event) defined for a specific date. If the specific date contains:

  • Only appointments, then the first appointment is retrieved

  • Only events, then the first event is retrieved

  • Both appointments and events, then the first appointment is retrieved

Activities

Application code uses the following signature to call this method.

Public Sub GetFirstActivity(dtDate As Date, strActivityID As String)

The parameters used in the above signature and the corresponding values are explained in the table below.

Parameter

Value

dtDate

Date that contains appointments or events or both.

strActivityID

Unique identifier of the first activity.