Inserting CrLf
Currently I am evaluating FastReports to hopefully replace Crystal Reports.
I want to print an address block using ONE TfrmMemoView control but I can't figure out how to insert a CRLF...
i.e. Address := [tblPEOPLE."ADDRESS_1"] + #13#10 + [tblPEOPLE."ADDRESS_2"] + #13#10 + [tblPEOPLE."CITY"] + ' ' + [tblPEOPLE."PROVINCE"] + ' ' + [tblPEOPLE."POSTAL"];
So it prints like:
ADDRESS 1
ADDRESS 2
CITY PROVINCE POSTAL CODE
Any idea how this can be done?
Thanks
Paul
I want to print an address block using ONE TfrmMemoView control but I can't figure out how to insert a CRLF...
i.e. Address := [tblPEOPLE."ADDRESS_1"] + #13#10 + [tblPEOPLE."ADDRESS_2"] + #13#10 + [tblPEOPLE."CITY"] + ' ' + [tblPEOPLE."PROVINCE"] + ' ' + [tblPEOPLE."POSTAL"];
So it prints like:
ADDRESS 1
ADDRESS 2
CITY PROVINCE POSTAL CODE
Any idea how this can be done?
Thanks
Paul
Comments
which way you do it will depend on where you are trying to to it from, Delphi,opb of band or memo's script.
regards
Using the Lines.Add did the trick thanks. I wasn't aware I could do stuff like that inside FastReports.