Store object reference in a row column, from inside the object itself

Mayada Al-Kishtini malkishtini at gmail.com
Mon Feb 27 12:14:56 EST 2017


Hi Andrea,

Try $cinst.$objref().

Mayada

-----Original Message-----
From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf
Of Andrea Zen
Sent: Monday, February 27, 2017 12:08 PM
To: OmnisDev List - English
Subject: Store object reference in a row column, from inside the object
itself

Hi all,
how can I store in a row column a reference to the current object, being
inside the object itself?
For example:

Do $objects.TEST_OBJ.$newref() Returns iv_ObjectRef Do
iv_ObjectRef.$testMethod()

Now, inside $testMethod():

Do lv_Row.$define()
Do lv_Row.$cols.$add('REFERENCE';kObjectref)
Do lv_Row.REFERENCE.$assign(XXX)

What should I use instead of XXX? I've tried $cinst, $cinst.$ref...doesn't
work.

Andrea Zen
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com





More information about the omnisdev-en mailing list