Q

Create dynamic table in Domino Designer 6

This Domino Designer 6 user wants to create a dynamic table so that a user can insert or remove lines.

My platform is Domino Designer 6. I want to create a dynamic table so that a user can insert or remove lines. This table can make sum of column or rows.
This can only be done with a good dose of LotusScript. You could provide buttons or links for users to add or remove lines in the table and then use code to add up values in columns or rows and display the totals.

It's not exactly a simple process, but with the help of the examples in the Domino Designer Help database, you can use the new NotesRichTextTable and NotesRichTextNavigator classes to add and modify the rich text table and the data in the table.

It is important to note that changes to rich text fields are not available until the document is saved, closed and re-opened. You can do all of this in your script (provided that the script is in an agent and not embedded directly on the form) and it should be fast enough that the user can't even tell what happened.


Do you have comments on this Ask the Expert question and response? Let us know.
This was first published in September 2005

Dig deeper on Lotus Domino Designer

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:

-ADS BY GOOGLE

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