Other advisors are real experts, and I'd like to ask more basic question ^^
Is DBMemo TMemo or TDBMemo?
Data-aware controls, like TDBMemo, TDBEdit, etc. are linked to dataset directly via TDataSource.
I'm curious your structure.
Anyway following always worked in my applications.
SQLQuery.ParamByName('Cotis').AsString := DBMemo1.Lines.Text;