[EXTERNAL]Report style table on the fly
Brian A O'Sullivan
brian.a.o-sullivan at axalta.com
Thu Apr 8 14:10:53 UTC 2021
Hi Xavier,
This sounds like a good opportunity to use the "report data grid", an external component that can be placed in your report.
Each column in the grid can set the "::columntype" property to "kRLclmnAutoSize" to automatically expand based on the list content.
David Swain wrote a Tech Note on this component many years back - hopefully it's still available at the Omnis website. I presented an example of creating a "generic grid report" at a prior EurOmnis. I'll send you the demo library from that session if I can find it!
Brian A. O'Sullivan
Bear, Delaware, USA
Sensitivity: Business Internal
-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of IT
Sent: Thursday, April 8, 2021 5:53 AM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: [EXTERNAL]Report style table on the fly
Hi,
I need to print a report with a table of products and variable number of details.
SKU Length Width Height Weight Material Colour
36102 490 300 200 1,1 Polypropylene Red
36103 500 300 225 2,0 Polypropylene Blue
36104 600 350 225 2,5 Polypropylene Grey
The number and width of columns varies depending on the product line.
So, I need to set the number of columns in the report and the adjust the width of the columns based on the content max length of the column and set position to the columns title labels.
Is there a way to know how much space takes a report field based on the content and font used?
Any advice to build a variable table style report on-the-fly ?
regards
xavier
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
This communication is for use by the intended recipient and contains information that may be Privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties. For more information regarding how we collect and use your personal data, and any related rights you may have, please review our Privacy Statement. <https://www.axalta.com/corporate/en_US/privacy.html>
More information about the omnisdev-en
mailing list