I am opening a dialogbox using Wks.DialogBox(“LocParameter”, True, True, False, False, False, False,“Select Location”) . In the LocParameter form there is a field called x(suppose) and I want to place the value of x in another Uidocument which has a field name called y.I am creating the other doc through wks.composedocument(…).How can I do this??Its urgent…
You’ll have to create a temporary document to open in your dialog box, then you can use the values to create a second document which you open using wks.editdocument, rather than composing directly.
Very quickly typed, with no testing
dim wks as new notesuiworkspace
dim s as new notessession
dim db as notesdatabase
set db = s.currentdatabase
dim tempdoc as notesdocument
set tempdoc = db.createdocument
if wks.dialogbox(“LocParamenter”, true, true, false, false, false, “Select Location”, tempdoc) then