Field Reference parameter
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 lists.omnis-dev.com