Q

Using a formula in a view that specifies the form

I have two forms, Form_A and Form_B. When saving a document based on Form_A, I wrote LS to generate some "small" document based on Form_B.

I have a view, which is based on Form_B, when I click one document in this view, the default will open the document with Form_B. My question is, how can I open the document with Form_A, which generated the relevant Form_B documents.
If I understand the question correctly, I think you can easily solve your problem by using a Form Formula in the view that specifies which form will be used when opening documents from the view. Open the view in the Designer client and find the Form Formula. Add a formula the returns the name of the form that should be used. In your case, this could be as simple as "Form_A" if you always want every document in your view to open with Form_A. Alternatively, if you always want to display these documents with Form_A, set the Form field in your LotusScript to "Form_A".
This was first published in May 2002

Dig deeper on Domino Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close