function visualvalue for String/Alpha fields
Posted: September 14th, 2018, 5:22 am
Hi Cspro Team,
I will like to use the function visualvalue to check if there exist a text in a field before sysparm to populate. It works with numeric
which the Help indicate, what is the alternative for string. I had this :
preproc
I get the error below:
I will like to use the function visualvalue to check if there exist a text in a field before sysparm to populate. It works with numeric
which the Help indicate, what is the alternative for string. I had this :
preproc
Code: Select all
if visualvalue($) = " " then
if sysparm("HeadHousehold") <> " " then
$ = sysparm("HeadHousehold");
endif;
endif
ERROR: Invalid variable type - numeric variable expected near line 2 in S3Q8A procedure