Alena Smart 20.Mar.11 07:12 PM a Web browser Domino Designer7.0.2 FP3Windows XP
Hi,
This should not be giving me so much trouble, but it does.
I have a uidoc and from a button I compose a form B. I need to have the values from uidoc to that main doc B.
Dim workspace As New NotesUIWorkspace
Dim sess As New notessession
Dim db As notesDatabase
Set db = sess.currentdatabase
Dim uidoc As NotesUIDocument, uidoc2 As NotesUIdocument
Dim doc As notesDocument
Dim doc2 As New NotesDocument(db)
Set uidoc = workspace.CurrentDocument
txtFirstName= uidoc.FieldGetText("SoumiName")
Set doc=uidoc.document
doc2.Form = "Client"
Call workspace.EditDocument(True, doc2) ' I am getting a variable not set here...
doc2.txtFirstName= txtFirstName
any idea what is wrong with composing another form???