I'm having trouble trouble grasping how to use TPgQuery and TPgUpdateSQL. I have an edit form, using non-data aware components to edit a single row. The form has the "typical" add, edit and delete buttons.
I'm see how to load the Params and set TPgQuery.SQL with a select query to retrieve the selected record. I can load the SQLDelete, SQLInsert and SQLUPdate with the relevent queries. What I cannot find is execute those specific queries.
I've looked at the Demo code but that appears tied into editing with a Grid. Is there a very high level explanation of the procedures that need to be followed?
Thanks.
Understanding TPgQuery and TPgUpdateSQL
-
- Posts: 5
- Joined: Tue 12 Jan 2010 01:03