Assign $dataname?

Scotte Meredith spomacguy at
Thu Mar 21 18:04:06 EDT 2013

On Mar 21, 2013, at 2:51 PM, Todd Mowbray <mimm at> wrote:

> Is it possible to assign a different $dataname to a field during runtime depending on...?
> I have tried the following w/o apparent success:
> Do $cinst.$objs.//Contacts/Products/Docs//.$objs.paint con city.$dataname.$assign(fProjects.fPrjPntrCell)
> I have also tried the full notation with the same result. I presume I could use $canassign to determine that, but I'm not fluent enough with notation to know how to formulate the command, or find/read the result. Any advice is greatly appreciated!

I believe the $dataname field is a string. You need to use something like this:

Do $cinst.$objs.//Contacts/Products/Docs//.$objs.paint con city.$dataname.$assign('fProjects.fPrjPntrCell')

Otherwise you are assigning the value of fProjects.fPrjPntrCell to $dataname.

Scotte Meredith
SpoMacGuy at

More information about the omnisdev-en mailing list