Subject: Dialogbox rights
check the dialogbox method parameters
flag = notesUIWorkspace.DialogBox( form$ , [autoHorzFit] , [autoVertFit] , [noCancel] , [noNewFields] , [noFieldUpdate] , [readOnly] , [title$] , [notesDocument] , [sizeToTable] , [noOkCancel] , [okCancelAtBottom] )
the one [notesDocument],
If you create a tempDoc and use that as the parameter, it should work…
Dim session as New NotesSession
Dim db as NotesDatabase
Dim Workspace as NotesUIWorkspace
Dim uidoc as NotesUIdocument
dim doc as NotesDoc
Dim tempDoc as NotesDocument
Set db = session.currentDatabase
Set uidoc = workspace.currentdocument
Set doc = uidoc.document
Set tempDoc = db.createDocument
dbx = workspace.DialogBox( “Your Dialogbox form”, true , true, false , false , false , false, “Title” , tempDoc , true )
when the dialobox is called it will use the tempdoc to feed the fields on dialogbox… This should work assuming the user has at least author access to the database.