Subform

I have a subform with 4 fields that must be entered, plus the key field that is automatically computed. I cannot get the subform to save when I click the OK button. I don’t use much LotusScript and I’m copying some code. Can you tell me what the True and False parameters mean in the code below. The code is in a button on the main form and it calls up the subform (named Materials) in a dialog box.

Thanks!

Sub Click(Source As Button)

Dim Session As New NotesSession

Dim uiWorkspace As New NotesUIWorkspace

Dim uidoc As NotesUIDocument

Set uidoc = uiWorkspace.CurrentDocument



flag = uiWorkspace.DialogBox( "Materials" , True , True , False , True  ,True  , False , "Describe Material Used" )

Call uidoc.refresh

End Sub

Subject: Subform

Hi the description of Dialogbox is:

Your Code:

flag = uiWorkspace.DialogBox( “Materials” , True , True , False , True ,True , False , “Describe Material Used” )

Help Code:

flag = notesUIWorkspace.DialogBox( form$ [, autoHorzFit [, autoVertFit [, noCancel [, noNewFields [, noFieldUpdate [, readOnly [, title$ [, notesDocument [, sizeToTable [, noOkCancel ]]]]]]]]]] )

IYou have activated “noFieldUpdate” in this Case no update would be done to the Document!

Hope this helps!

Thomas Balatka

Mailto:Thomas.Balatka@aon.at