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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is nothing in that code that should be preventing multiple lines from being posted to the DB. So either the
cxMemo.Textproperty is not returning all of the text in the first place, or the DB is truncating the field text on the first line break.