this works.
Code:stringVar array x1 := ""; stringVar result := ""; numberVar i; numberVar top := 0; If Not IsNull({tblJobs.scflist}) Then ( top := ubound(split({tblJobs.scflist},'|')); for i := 1 to top do ( redim preserve x1[i]; x1[i] := split({tblJobs.scflist},'|')[i]; result := result + x1[i]; result := result + chr(10); ); if {tblJobs.choosescf} then "Please Advise" + result else result; ) else if {tblJobs.choosescf} then "Please Advise"




Reply With Quote