to walkdan:
你的方法我试了试
但是
TQuery.ParamByName('memo_field').AsMemo.Assign(Memo1);编译通不过
[Error] Unit1.pas(49): Record, object or class type required
改成
query1.ParamByName('f2').asMemo;
query1.ParamByName('f2').Assign(memo1);
运行时又出错:
can't assign a TMemo to a TParam