Text := 'Dies ist ein weiterer wertvoller Hinweis'; LenChar := STRLEN(Text); Text := FORMAT(LenChar) + Text; Cont.GET('1000'); NewID := Cont.ADDLINK('dynamicsnav://dell-rotsch:7046/myCharity/myCharity/runpage?page=5050&mode=Edit', 'Über eigene Funktion erstellt'); RecordLink.GET(NewID); RecordLink.CALCFIELDS(Note); RecordLink.Note.CREATEOUTSTREAM(OutStream); OutStream.WRITE(Text); RecordLink.Type := RecordLink.Type::Note; RecordLink.Notify := TRUE; RecordLink."To User ID" := USERID; RecordLink.MODIFY;
Comments
:thumbsup:
do you have any idea how to post more the 250 digits in a note? Because a char can have as max value 250.
Thanks in advance
arnim
Has anyone figured out how to import notes that are greater than 250 characters?
Thanks...
I've used the following code for creating notes
The variabale _Note is a text variable which have a length of 1024.
I mean, you should be able to add more of such variable using the +
I've not tested it
You get an error when assign LenChar to the length of the text string when LenChar is a char type variable.
Is there another way to assign the length?
TextToWriteAsNote Text 1024
NoteLength Integer
Char1 Char
Char2 Char