Ask the Expert

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: