根据[这一]员额,我似乎无法对任命作出变数。 项目采用Restrict或 Find方法使用全球指定信息数据库。 这个员额似乎正在使用C#。 是否有可能通过世行采取另一种方式? 我继续犯错误“条件无效”。 难道这告诉我我,我可以不以这一条件为依据,或者在我的有条件发言中我有同学错误吗?
我的法典目前对此持类似看法。
Public Function RescheduleAppointment(oNewDate As Date, ApptID As String) As Boolean
Dim oAppt As Object
oAppt = GetAppointment(ApptID)
With oAppt
.Edit
.Start = oNewDate
.Update
End With
End Function
Private Function GetAppointment(OTLGAID As String) As AppointmentItem
Dim oAppt As Object
Dim fdrCalendar As Object
Dim oApptItems As Object
Initiate our refernce to the public folder in outlook.
Set fdrCalendar = CreateConnection
Start creating our Appointment
Set oApptItems = fdrCalendar.Items
Set GetAppointment = oApptItems.Find("GlobalAppointmentID = " & OTLGAID & " ")
Set oAppt = Nothing
Set fdrCalendar = Nothing
Set oApptItems = Nothing
End Function
Another way around it is to check each item individually (inefficient). But if the above won t work, is there a way to call Find or Restrict using wildcards if my subject line also contains a unique value in each appointment? [1]: Get Outlook AppointmentItem using GlobalAppointmentID