mysql의 test_product 테이블에 productcomment(타입 text) 필드에 memo 컴포넌트의 내용을 입력하려고 하는데 에러는 없이 입력이 되지 않는군여...
타입이 varchar() 인경우에는 아무 문제 없이 입력됩니다.
타입이 text 일경우는 어떻게 해야 mysql에 저장이 되는지...???
어떻게 해야될지 고수님들의 답변좀 부탁드립니다
with Query1 do begin
close;
Sql.Clear;
Sql.Add('insert into test_product(ProductComment)');
Sql.Add('values :ProductComment1)');
ParamByName('ProductComment1').asmemo := ProductComment.lines.text;
execsql;
end;