I want to remove all spaces in a text field. 00 11 22 33 should be 00112233. I have tried the DELCHR in a report, but nothing happens. This is a clean-up job just this one time, nothing permanent… Anyone ??
[:D]
Give a little bit more of your code
Var := ‘00 11 22 33’; Var := DELCHR(Var,’<>=’); //result: ‘00112233’
Did you do Rec.MODIFY? You need: OnAfterGetRecord() "Text Field" := DELCHR("Text Field"); MODIFY;
try Var := '00 11 22 33'; Var := DELCHR(Var); //result: '00112233'
Thanks a lot !! DELCHR(Var,’<>=’); did it !! I guess I just messed up with the <>= Thanks again! [:)]