Domino Code Fragment

Code Name*
Dynamic table generation
Date*
09/18/1996
Source (or email address if you prefer)*
Jamie Magee
IP address:.3.16.66.206
Description*
Formula-generated HTML tables are very powerful, extremely fast, and give you a lot of control that even native Domino tables can not provide.
Type*
Formula
Categories*
List Processing/Sorting, User Interface (Web)
Implementation:
Modify constants
Required Client:
Server:
Limitations:
Comments:
A Notes list formula generates N rows dynamically, including editable fields and icons.

Below is a formula for a 5 column read-only table that generates any number of rows on the fly based on 5 multi-value fields that are assumed to exist elsewhere on the doc.

Place the entire formula in a computed Rich Text Field, and put lookup/column formulas, rather than fieldnames, in the COLUMN DATA LISTS section to maximize the potential number of rows in the table. You could change this to do <>5 columns.
Files/Graphics attachments (if applicable): Code: