weird behaviour. I want to attach a file into a specific field:
@Command([EditGotoField];“Files”);
@Command([EditInsertFileAttachment])
Works fine if I just compose the document but if I create the document in a dialog box the files are essentially removed from the field and placed at the end of bottom of the document.
+++++++++++++++
Set db = s.CurrentDatabase
Set newdoc=db.CreateDocument
newdoc.Form="Comment"
'flag = notesUIWorkspace.DialogBox( form$ ,
’ [autoHorzFit] ,[autoVertFit] , [noCancel],
’ [noNewFields] , [noFieldUpdate] , [readOnly] ,
’ [title$] , [notesDocument] , [sizeToTable] , [noOkCancel] , [okCancelAtBottom] )
askme= wksp.DialogBox("Comment"_
,True,False,False,_
False,False,False,_
"Enter Comments",newdoc,True,False,True)
+++++++++++++++
3 ?s –
-how do I get the attachments to display in the field and still create doc with a dialogbox?
-If so, can I display them with small icons?
-if I can’t acheive this in the dialogbox, can I hide the files at the bottom of the document? (Tried computed for display $v2attachmentoptions but is that only for web client? it’s not working for me)
many many thanks