Ich versuche per Agent eine Backupdatei in ein Feld zu schreiben.
Klappt auch soweit ganz gut, jedoch werden im Dokument nur die ersten ca. 600 Zeilen importiert.
##################
Open "c:\backup.log" For Input As fileNum%
Do While Not Eof(fileNum%)
Line Input #fileNum, txt$
Print counter
imput = imput+Chr(13)+"Zeile: "+Str(counter)+" - "+txt$
counter = counter + 1
Loop
Print imput
Call doimporttxt(imput)
##################
Function DoImportTXT(impvar As String)
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
doc.Form = "Imp22"
doc.imptxt = impvar
Call doc.Save( False, False )
End Function
##################
Ergebnis Dokumenteneigenschaft
Feldname: Imptxt
Datentyp: Text
Datenlänge: 31431 Byte
Seq.-Num.: 1
Doppelte Eintrags-ID: 0
Feld-Flags: SUMMARY
Was mache ich falsch?