Object class in a Table class

Doug Easterbrook doug at artsman.com
Wed Nov 23 17:32:46 UTC 2022


a few things would be helpul — like version of omnis you are using.


we have object references in all of our table classes (mostly inherited through instance variables) and objects (instance or local variables ) in a few of the table classes.

I would try object references since those are easier to pass around than objects.



Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978

> On Nov 23, 2022, at 5:37 AM, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> 
> Just a clarification that when you definefromsqlclass from 1 table class works fine.
> Problem is seen when you definefromsqlclass from 2 tables to build a list query.
> This is when the $construct method of the object class is called and Omnis crashes.
> 
> 
> 
> 
> 
> 
> 
>    On Wednesday, November 23, 2022 at 04:17:42 PM GMT+3, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:  
> 
> Hi $all
> Has anyone tried to reference an instance variable of type object that is created in a super table class, from another object class?
> Mine reference seems to crash Omnis when I try to define a list using definefromsqlclass command.
> 
> RgdsMartin O.
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 
> _____________________________________________________________
> 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