object property

Rob Mostyn mostyn at platformis.net
Mon Nov 28 14:30:20 UTC 2022

Hi Martin,

Where does the attribute $active live?  On the server?  Or on the client?
You said you are using a remote form so the answer is on the client.

Where is your code running?  On the server?  If so then the attribute does not exist on the server (because its on the client).

Hope this helps,
Rob Mostyn

+44 (0)20 3233 0044

As Carl Sagan once said:
One of the great commandments of science is, "Mistrust arguments from authority." ... Too many such arguments have proved too painfully wrong. Authorities must prove their contentions like everybody else.

> On 28 Nov 2022, at 13:54, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> Hi friends,
> How do I get the property of an object in a remote form?
> I am running the command:
> Calculate lActiveStatus as $cinst.$objs.ef_name.$active
> This returns an error "Cannot get the value of a remote form instance property when executing code on the server".
> I am using O$10.22 web dev.
> Martin.
> _____________________________________________________________
> 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