Load page setup

Michael Rowan michael.rowan3 at gmail.com
Wed Aug 20 09:57:38 EDT 2014


Hi Michael
That looks good to me.  Thanks for the magic line of code.
Regards
Michael Rowan


On Wed, Aug 20, 2014 at 9:49 PM, Michael Monschau <michael at brainydata.co.uk>
wrote:

> Hi Mike,
>
> I think you can set the reports page setup data in design mode via the
> property inspector, or
> the following may do the trick at runtime
>
> Prompt for page setup
> If flag true
>         Calculate $clib.$reports.MyReport.$pagesetupdata as
> $root.$prefs.$pagesetupdata
> End if
>
> When you print, you should be able to do
>
> Set report name MyReport
> Load page setup
>
>
> Regards,
> Michael
>
> Michael Monschau (Director)
> Brainy Data Limited
>
> Reply To: michael at brainydata.co.uk
> Phone: +44 (0)870 474 0708
> Web: www.brainydata.co.uk the home of Omnis Components and Developer
> Services
>
>
>
>
>
>
> On 20 Aug 2014, at 13:04, Michael Rowan wrote:
>
> > Hi all
> >
> > As I understand things for Studio 4.3.2 on OSX 10.6.8 if I do:
> >
> > Set report name [myreport]
> > Load page setup
> >
> > all future reports (in the absence of further intervention) will use that
> > page setup.
> >
> > But how do I transfer a page setup INTO a report:
> >
> > Set report name [myreport]
> >
> > Prompt for page setup
> > If Flag True ;; the page setup is whatever the user chose here.
> >
> > Now I want to store THAT in [myreport] so I can re-use it later.
> >
> > Should this work?  Doesn't appear to.
> >
> > Thanks for any ideas.
> >
> > Mike
> > _____________________________________________________________
> > Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>



More information about the omnisdev-en mailing list