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

Specify multiple forms in form formula

I am new to development, so my approach to the database I am creating could be the long or hard way. My question is this, is there a way to specify more than one form to be used in a form formula? Or is there another way to go about this? What I am trying to do is take a form that has been submitted and show the data in a different form. I have 3 forms that are being used in each view. I have tried select case with no success. Can you help out a novice developer?

Sure... Something like the following would work for you in the Form Formula section of the view.

@If( DocType="C"; "ContractForm"; DocType="Q"; "QuoteForm"; DocType="P"; "ProposalForm" ; "DefaultForm");

That code would open one of the four forms listed depending on the contents of the DocType field. If the DocType field contains something other than "C","Q","P" or does not exist, the form "DefaultForm" will be used.

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




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