Got a cxmemo1 that I need to add its contents to database. Right now all I add is the first line:
ABSQuery1.Params.ParamByName('A2').VALUE := CXMEMO1.text;
I know I need to modify this line but how ? I want all lines in the memo to be entered.
Got a cxmemo1 that I need to add its contents to database. Right now all I add is the first line:
ABSQuery1.Params.ParamByName('A2').VALUE := CXMEMO1.text;
I know I need to modify this line but how ? I want all lines in the memo to be entered.
There is nothing in that code that should be preventing multiple lines from being posted to the DB. So either the cxMemo.Text
property is not returning all of the text in the first place, or the DB is truncating the field text on the first line break.