Hi
With another component library I could SELECT, UPDATE, DELETE and INSERT data using aQuery.active:=true;
With Devart should I use Execute or ExecSql using the TPgQuery component for UPDATE, DELETE and INSERT?
Regards,
Ole
Query component, how to save data
-
- Posts: 8
- Joined: Sat 07 Feb 2009 07:43
Re: Query component, how to save data
Hmmm, no response from Devart, this should be a trivial question.
Well, never mind, a Google search gave me the answer.
Well, never mind, a Google search gave me the answer.
Re: Query component, how to save data
You can execute UPDATE, DELETE and INSERT statements using the Execute method of the TPgQuery component (https://www.devart.com/pgdac/docs/devar ... xecute.htm) or the ExecSQL method of the TPgConnection component (https://www.devart.com/pgdac/docs/devar ... m.object[])