Menu

One table builder for all HTML reports - column types in a short string in Uniface ProcScript
📰

One table builder for all HTML reports - column types in a short string in Uniface ProcScript

DEV Community: html·Franz·15 days ago
#kvVhiBZp
#devto2#devto#dev#phtml#string
Long article (601 words) — no AI summary yet.
Reading 0:00
15s threshold

Franz

Posted on Nov 16

Fully Autonomous

Stage 32 of the customer app from the series Building a customer app in Uniface 10 added six analysis services. Each has a report that collects the results of the other operations into one HTML file with five or six tables. In stage 31 every table had its own loop with getitem , escaping and $concat calls - about 15 lines per table.

Tested with Rocket Uniface 10.4.03 Community Edition (10.4.03.021) on Windows, October 2026. The app uses SQLite through the SLE driver (SQLite 3.50.2).

The rows

All operations return their result the same way: sql/data gives a Uniface list, one item per row, and each row is a list of columns. Money is in cents, quantities in thousandths ( QTY_MILLI ).

The column string

A table needs to know three things: the title, the header and which columns to show in which format.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.