i am developing an application on Web…The problem which i face is written below in details…___________________________________________________
There are two forms such as formA and formB
in my Application i want that some value of the formA will be send to formB by composing document and at the same time formB will be save once which must display in view… And when formB is open it will show the value of the field which is passed from formA…
Subject: Composing and Saving the doc in Web based Appln…
Hi,
In WebQueySave of formA run a lotusScript agent to create a document with formB and pass values…, something like this:
Dim session As new NotesSession
Dim db As NotesDatabase
Dim docA As NotesDocument
Dim docB As NotesDocument
set db = session;CurrentDatabase
set docA = session.ContextDocument 'this is a very usefull property for web applis > look in Designer Help…
set docB = db.CreateDocument
docB.form = “formB”
docB.fieldnameFomB = docA.fieldnameFormA
docB.save(True,False)
or
from document (formA) you can use inherit property of form to compose a document with formB (Look Designer help for more infos about inherit property of form)