klar... etwas zusammengekürzt
Function CheckDocument(objError as ErrorObject) as Variant
Dim strFArray() As String
' tralala
If FieldsFilledMulti (doc, strFARRAY, objError) = False Then Exit Function
End Function ' CheckDocument
Hier kommt mein Fehler, auf den ich gern zukünftig die Arrays testen würde. Ich produziere den hier nur, weil ich oben zuviel auskommentiert habe.
Function FieldsFilledMulti (doc As NotesDocument, strFArray As Variant, objError as ErrorObject) As Variant
' tralala
Print "Dataype: "+CStr(DataType(strFARRAY)) ' 8712
Print "Empty: "+CStr(IsEmpty(strFieldsARRAY)) ' False
Print "Scalar: "+CStr(IsScalar(strFARRAY)) ' False
Print "Array: "+CStr(IsArray(strFARRAY)) ' True
' hier kracht's
For i = LBound(strFARRAY,2) To UBound(strFARRAY,2)
'...
End Function ' FieldsFilledMulti