Field Reference parameter

IT it at plastipol.com
Thu Jan 18 09:58:30 EST 2018


Ohh my God, you get it! 

Finally I have this:

ivMaestro.[con("$TestForAUniqueIndexValue(",$cobj().$dataname,”)")]

and works perfectly.

Thank you very much for your assistance.


xavier


> El 18/1/2018, a las 13:30, Kelly Burgess <kellyb at montana.com> escribió:
> 
> Hi Xavier,
> 
>> This works
>> Do ivMaestro.$TestForAUniqueIndexValue(ivMaestro.USR_CODIGO) Returns #F 
>> 
>> Any one know if there is a way to send the name of the field as a parameter in a dynamically way?
> 
> Try this:
> 
> Calculate fieldToTest as 'ivMaestro.USR_CODIGO'
> Calculate testUnique as con('$TestForAUniqueIndexValue(',fieldToTest,')')
> Do ivMaestro.[testUnique] Returns #F
> 
> Kelly
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list