Board index » delphi » Updating/Deleting Join Tables in ADO

Updating/Deleting Join Tables in ADO

BDE dataset just needs TUpdateSQL to update/delete  join tables. How
about ADO, how could you do it using TADOQuery or any other ADO
Components?.
 

Re:Updating/Deleting Join Tables in ADO


Hi
which database??
in mssql 7 join tables are not read only result set
there is no problem to update joins   but......   be carefull ---
if you delete a line from this join data from both tables will be deleted
you can look back in this newsgroup to find  out more about it

Regards

  David        agros...@arava.co.il

Quote
"Dingzky" <Ding...@joydesk.com> wrote in message

news:3973E45C.BB26CCE0@joydesk.com...
Quote
> BDE dataset just needs TUpdateSQL to update/delete  join tables. How
> about ADO, how could you do it using TADOQuery or any other ADO
> Components?.

Re:Updating/Deleting Join Tables in ADO


Quote
>BDE dataset just needs TUpdateSQL to update/delete  join tables. How
>about ADO, how could you do it using TADOQuery or any other ADO
>Components?.

Most SQL server back ends and Access too return an updateable query from a Join
so you probably will not need the capabilities of a TupdateSQL with ADO

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Re:Updating/Deleting Join Tables in ADO


Quote
"David B.E" wrote:
> Hi
> which database??
> in mssql 7 join tables are not read only result set
> there is no problem to update joins   but......   be carefull ---

Our database is ORACLE 8i. Basically, in our join tables, only one table will
be updated/deleted. In TUpdateSQL, it's so easy to do this scenario, but ADO,
Iam new with it, so I don't really know much of it.

Other Threads