Assign $dataname? - Solved

Todd Mowbray mimm at montana.com
Thu Mar 21 18:07:46 EDT 2013


Thank you Scott. I thought I had tried that, but writing it as you suggested worked just fine. Thanks a bunch!

Todd

On Mar 21, 2013, at 4:04 PM, Scotte Meredith wrote:

> 
> On Mar 21, 2013, at 2:51 PM, Todd Mowbray <mimm at montana.com> 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 gmail.com
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> 




More information about the omnisdev-en mailing list