Hi,
I’m trying to place newly added tasks from within my notes client into outlook.
This is working, but I cannot get access to the description field of the notes task.
I’m using something like this to loop over all the fields:
Set fieldItem = doc.GetFirstItem(“Form”)
itemValue = fieldItem.values(0)
Select Case itemValue
Case “Task”:
Forall item In doc.Items
itemName = item.Name
set fieldItem = doc.GetFirstItem(itemName).values(0)
Forall value In fieldItem.Values
' store value
End Forall
End Forall
End Select
when I come at the “Body” field when going through this loop, I get the errormessage “Type Mismatch”
But what type should I use then ?
I cannot find any reference to the possible fields of the task item
and therefore I don’t know what the type of the Body field is.
Can anyone help me with this please ?
Also, does somebody know where I can find more info about the fields that are returned by the .Values property
for each specific item, such as tasks, appointments, etc. ?