ok, werd ich probieren.
Noch eine Letzte Sache zu dem Thema Lotus Script und wenn man eigentlich Formelsprache für sinniger hält.
ich will von einem Strin in LS die ersten 3 zeichen ausgeben und ein Feld in einem neu composed document füllen. Ich bekomme aber egal wie ich es dreh und wende nur ein Type mismacht:
Es geht um den Tag string
Dim Session As New NotesSession
Dim db As NotesDatabase
Dim docNew As NotesDocument
Dim StrN As String
Dim n As Integer
Dim uiview As NotesUIView
Dim collection As NotesDocumentCollection
Dim max As Integer
Dim node As String
Dim project As String
Dim tag As String
Set db=session.CurrentDatabase
Set collection=db.UnprocessedDocuments
Set doc= collection.GetFirstDocument()
While Not(doc Is Nothing)
Set docNew=db.CreateDocument
docNew.form="RAW_input_txt"
rawstring=doc.rawimporthilfsfeld
tag=Left(rawstring,3)
node = session.GetEnvironmentString( "importmgr_node" )
project = session.GetEnvironmentString( "importmgr_project" )
docNew.RAW_projekt=project
docNew.RAW_nodes=node
docNew.RAW_tag=tag$
Call docNew.Save(True,False)
Set doc=collection.GetNextDocument(doc)
Wend