Problem with a string variable from delphi
stefque
Serbia
I send variables from Delphi to a report like this
fizvestaj.frxreport1.variables := ''''+dbmemo1.Text+'''';
When it's only one line in the program it works fine, but when that dbmemo1 field has more then one lines it prints ' on beginning and ending of the memo field in report... How can I fix this?
fizvestaj.frxreport1.variables := ''''+dbmemo1.Text+'''';
When it's only one line in the program it works fine, but when that dbmemo1 field has more then one lines it prints ' on beginning and ending of the memo field in report... How can I fix this?
Comments
youse the an frxdbdataset and in the tfrxmemoview use [datasetname."fieldname"]
and set the band and memo to stretch.
there are other methods that can be used but this is the simplest.