Referencing lists within lists
Will Adkin
will.adkin at lineal.co.uk
Fri Aug 9 09:51:30 EDT 2013
Hi Franco,
Thanks for this but I should clarify, there is no window component being used here so there is no relevant $construct method and no $cfield
I have a list var as an instance of an object and I have added a column to the list with: Do iList.$cols.$add('QtyList',kList)
I have put a number of lists into this column, I want to create an itemRef that points to one of them so I can process data in a different object...
Kind regards,
Will
Will Adkin, Software Development Manager, Lineal Software Solutions Ltd
Apple Reseller, Microsoft Partner, SQLWorks Business Partner
office phone: 01271 850550 | web: lineal.co.uk | email: will at lineal.co.uk
On 9 Aug 2013, at 14:39, "Franco Maregotto" <franco at hotelaqua.it> wrote:
> Did you try to
> Set Reference lvRef1 to $cfield
> in the $construct method of the list field (QtyList)? Of course the
> refVariable should be not local
> HTH
> Franco
>
> -----Messaggio originale-----
> Da: omnisdev-en-bounces at lists.omnis-dev.com
> [mailto:omnisdev-en-bounces at lists.omnis-dev.com] Per conto di Will Adkin
> Inviato: venerdì 9 agosto 2013 14:26
> A: OmnisDev List - English
> Oggetto: Referencing lists within lists
>
> Hi List
>
> Can anyone confirm if it is possible to set a reference to a list within a
> list? I seem to be having huge trouble: i.e.
>
> iList contains another column called QtyList
>
> Set reference lvRef1 to iList.$ref works fine
>
> but
>
> Set reference lvRef2 to iList.QtyList.$ref
>
> does not work. I want to create a reference to the QtyList on the current
> line of iList. I have tried various permutations... Have I got my references
> mixed up or am I wasting time trying to achieve the impossible?
>
> Any pointers would be great!
>
> Will
>
> Will Adkin, Software Development Manager, Lineal Software Solutions Ltd
> Apple Reseller, Microsoft Partner, SQLWorks Business Partner office phone:
> 01271 850550 | web: lineal.co.uk | email: will at lineal.co.uk
>
> _____________________________________________________________
> 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