Studio 6.x - setting field width

Mayada Al-Kishtini malkishtini at gmail.com
Tue Jan 9 13:54:18 EST 2018


Hi Andrew,

I don't understand the use of $cinst in your case.

You could try this syntax and see if it works with you as well:

Calculate  $clib.$reports.r_test.$objs.r_test_1225.$width as 4.833

HTH,
Mayada

-----Original Message-----
From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf
Of Andrew Stolarz
Sent: Tuesday, January 09, 2018 1:46 PM
To: OmnisDev List - English
Subject: Re: Studio 6.x - setting field width

After some messing around, In order to set the field width correctly on the
report, you need to include the the report class name as well. (strange as
it is not required for things like setting visibility etc)

So it will look like this:

Calculate $cinst.r_test.$objs.r_test_1225.$width as 4.833


Andrew



On Tue, Jan 9, 2018 at 10:06 AM, Andrew Stolarz <stolarz at gmail.com> wrote:

> I have a report class. In the $construct I have this line:
>
> Calculate $cinst.$objs.r_test_1225.$width as 4.833
>
> In developer it does what it should, however in runtime it does not 
> set the field width.
>
>
> Am I missing something here or possible bug?
>
>
>
> Andrew
>
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list