*testeval.prg CLEAR ?'Sending prof_sc' getfield='prof_sc' value1 = WORDHIDE(EVALUATE('getfield')) ?value1 ?'Sending junk' getfield='junk' value1 = WORDHIDE(EVALUATE('getfield')) ?value1 *wordhide function xstr param should = 'prof_sc' in this example only FUNCTION wordhide PARAMETERS xstr ? xstr IF LOWER(xstr)='prof_sc' RETURN 'mdr_dob' ELSE RETURN 'unknown - prof_sc was not passed to this program' ENDIF>Tracy,
>>getfield='prof_sc' >>value1 = WORDHIDE(EVALUATE('getfield')) >>?value1 >> >>*wordhide function xstr param should = 'prof_sc' in this example only >>FUNCTION wordhide >>PARAMETERS xstr >> >>? xstr >>IF LOWER(xstr)='prof_sc' >> RETURN 'mdr_dob' >>ELSE >> RETURN 'unknown - prof_sc was not passed to this program' >>ENDIF >>>>