Printing reports

Mike Matthews - Omnis omnis at lineal.co.uk
Sat Jul 16 20:04:26 UTC 2022


Hello Das,

I’m thinking, don’t forget the simple things.

Print report with parameters is just fine, and is what we use.  Rarely do we use print Record, and we mostly always send the list into the report all nicely built, rather than build the list in the $construct of the report.  Flexibility.

Regards

Mike Matthews

Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>

omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>

www.lineal.co.uk<http://www.lineal.co.uk/>

www.sqlworks.co.uk<http://www.sqlworks.co/>



On 16 Jul 2022, at 20:23, Das Goravani <goravanis at gmail.com<mailto:goravanis at gmail.com>> wrote:


It’s been quite awhile since I worked on reports and I seem to have forgotten something basic.

I am working only with remote forms and now I’m working on reports to PDFs.

When you invoke a report with $open,
And then the code runs in it’s $construct
When you are in that $construct, building up a list of data
And you are ready to print

I noticed there is a $cinst.$printrecord command
But there is no simple $cinst.$printreport

I opted instead to

"Print Report" command, which seemed old to me

How do you print your report, if you are in the construct or other code within the report, getting it ready

Well when you are ready, is the "Print Report" command the way to go or is there some other way

The wizard prints record by record with the $cinst.$printrecord command in the construct of the report

My first report here is based on a list, as I imagine most of my reports will be


_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com



More information about the omnisdev-en mailing list