Pascal,
I found the function I need, @GetField.
n := 1;
@While(n <= @Elements(myNames);
@If( @GetField(myNames[n]) ="4" ; fullNote := fullNote + ", " + myNames[n] ; "");
n := n + 1);
Thanks for your help. Your time is appreciated.
Agreed, your code works as noted.
In your example myNames is the name of the database field and the results are as expected.
In my case myNames is the name of an array variable within a report. The report is pulling values from the database where there is no field named myNames. The database...
Pascal, bpeirson here. I can't access my first account so I set up an new account so I can respond to my own thread. Go figure!
You're proposed solution doesn't work. Suppose my first field's name is "firehazard" and it contains "4".
When I use "firehazard" in the code the system recognizes it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.