-
Andrea Zen replied to the topic showpdf in the forum Omnis forum 3 years, 12 months ago
I’ve used it this way and it works; the browser (Firefox) opens the PDF in a new tab (after you allow to open pop-ups):
Calculate lcdevice as $cdevice.$ident ;; store current print destination
Do $cdevice.$assign(kDevOmnisPDF)
Do Omnis PDF Device.$settemp(kTrue,1) Returns lID
Set report name YOUR_REPORT_CLASS
Print report {YOUR_REPORT_CLASS…[Read more] -
Andrea Zen replied to the topic showpdf in the forum Omnis forum 3 years, 12 months ago
I’ve used it this way and it works; the browser (Firefox) opens the PDF in a new tab (after you allow to open pop-ups):
Calculate lcdevice as $cdevice.$ident ;; store current print destination
[Read more]
Do $cdevice.$assign(kDevOmnisPDF)
Do Omnis PDF Device.$settemp(kTrue,1) Returns lID
Set report name YOUR_REPORT_CLASS
Print report {YOUR_REPORT_CLASS… -
Andrea Zen replied to the topic Object classes versus Table classes in the forum Omnis forum 4 years, 2 months ago
I agree on Sten’s approach. I see Objects and Tables as two different layers: Objects are a high level layer that should know nothing about the repository you use (database, file…); Tables should access the repository as DAOs.
As for Object References, they are mandatory as soon as you try to apply some modern Design Pattern to your applications…[Read more] -
Andrea Zen became a registered member 4 years, 2 months ago
- Load More