You dont need to use the TUpdateQuery to do Cached Updates.
There are a couple of events (names escape me) you can hook in to instead.
Much more flexible.
But IIRC, the answer is that you can create the whole SQL statement at run
time.
Regards,
and maybe I'll see you tommorrow.
----- Original Message -----
From: Mark Derricutt <[EMAIL PROTECTED]>
To: Multiple recipients of list database <[EMAIL PROTECTED]>
Sent: Tuesday, 12 October 1999 11:29
Subject: [DUG-DB]: TUpdateQuery
> I want to make a form that has on it a grid, a query, and an update query,
> I plan to pass a table name to TheForm.Execute(someform: string).
>
> Is there any way to pragmatically create the SQL needed for the
> TUpdateQuery? Much like you can from the UpdateQuery's component editor?
>
> --
> Mark Derricutt, He that brings forth electronic life.
> Getting jiggy with Type O Negative - World Coming Down
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Database List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Database List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz