Q
Problem solve Get help with specific problems with your technologies, process and projects.

View formulas

How do you use form formula in views. In my situation, I need to display one form for composing and another form for displaying. If we use this formula, it doesn't work: @If(@Isnewdoc;FormA;FormB)
You are using the formula language correctly. However, your logic is the culprit here. @IsNewDoc will never be true from a view. This is because once the document has been saved it is no longer a new document and since you cannot see a document in a view until it has been saved, you cannot have a true condition for this function.

You can, however, use @IsNewDoc for a computed sub form -- displaying one subform when it is created and another when it is being viewed.

Dig Deeper on Domino Resources - Part 7

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.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

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 ...

SearchDataCenter

SearchContentManagement

Close