Field Reference parameter

Kelly Burgess kellyb at montana.com
Thu Jan 18 07:30:35 EST 2018


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



More information about the omnisdev-en mailing list