How to launch a form from a button?

Hey all…

I’ve got a couple of forms (Form A & Form B)… Form A contains inputted information. Form B is a followup letter, and I want to be able to launch it from a button on Form A, passing the values on Form A for display on Form B.

(I’ll also time-stamp a field on Form A that says “Followup generated @ such and such time”, but I can figure that out)

Any thoughts?

Thanks,

Rick

Subject: How to launch a form from a button?

Dear Rick,To open Form B,from the button in Form A,write @Command([Compose];“Form B”) in the click event of this button.It can do it by Lotus Script also.

Now to pass the values on Form A for displaying in Form B,open form properties of Form B.Choose the second tab,select "Formulas inherit for selected documents."But remmember that,the field names for both the forms should be same to show the value of a field of Form A in Form B.

You can try out it.

Ranodip

Subject: How to launch a form from a button?

Look into the @Command EditDocument and the same method in the NotesUIWorkspace class.