Printing reports
Ben Weinberg
ben at pca.com
Sat Jul 16 20:21:24 UTC 2022
Das:
I’m doing a process similar to what you describe, where there is a pushbutton with a loop that prints records, and a report that has all sorts of calculations in the Record $print. The calculations there end with Do default, which then goes on to print the record.
Hope this helps.
Ben Weinberg
> On Jul 16, 2022, at 12:23 PM, Das Goravani <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