Odd result in table class from Calculate #1 = $cinst.C2
Mike Rowan
mgrowan at fastmail.com
Tue Mar 4 22:38:03 UTC 2025
The moment I hit send I had this thought:
Is it because the table class doesn't know whether $cinst is a row or a list ?
On Wed, Mar 5, 2025, at 9:04 AM, Mike Rowan wrote:
> In my custom $update in my base table class I have the following
>
> Calculate lvRow as $cinst
> # works as expected, all columns have the expected value
>
> Calculate #1 as $cinst.$colcount
> # works as expected
>
> Calculate #2 as $cinst.C2
> # $cinst.C2 is an integer, but this results in 0, an incorrect result.
>
> Calculate #3 as lvRow.C2
> # works as expected.
>
> Why do the last two calculations give different results? A bit spooky?
>
> Mike Rowan
> Mobile: 0417 812 509
> Email: mgrowan at fastmail.com
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
Mike Rowan
Mobile: 0417 812 509
Email: mgrowan at fastmail.com
More information about the omnisdev-en
mailing list