Domino 9 und frühere Versionen > ND6: Entwicklung
Incorrect Argument Type: String Expected
Don Pasquale:
Hallo Leute,
ich habe folgenden Code, mit der Methode FieldsetText
wird einem Feld ein Variant zugeordnet.
Nu gucke, da bekomme ich eine Fehlermeldung siehe Titel.
Hat jemand eine Idee, waswarumwiesodenn ?
Dim LISTE As String
Dim NOTIZ As Variant
Dim item As NotesItem
Dim doc As NotesDocument
Dim uiws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = uiws.CurrentDocument
Set doc = uidoc.document
NOTIZ = getNotiz( doc.e4ihk_DOC_ID(0))
uidoc.EditMode = True
-> Call uidoc.FieldSetText( "tmp_NOTIZEN", NOTIZ )
Call uidoc.Save
Semeaphoros:
Was sagt denn der Entwanzer zum Inhalt von Notiz und was macht die Funktion getNotiz?
Don Pasquale:
Die Funktion getNotiz packt in das Feld Notiz
ein Variant. Da sind String Felder drin.
Nichts ungewöhnliches.
Ciao
Don Pasquale
Semeaphoros:
Sting-Felder? Ich dachte, Sting macht Musik ...... ;D
FieldSetText nimmt aber per DesignerHifle einen String entgegen und weder einen Array noch ein Variant entgegen. Da musst Du das Ding implodieren oder so, oder dann übers Backend eingeben.
Don Pasquale:
KORREKTUR :
Interessant, dasss _derselbe_ Code mit einem
5er Client aufgerufen funktioniert, mit
einem 6er Client aber nicht.
Ciao
Don Pasquale
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln