| View previous topic :: View next topic |
| Author |
Message |
david Guest
|
Posted: Mon Sep 29, 2003 7:52 am Post subject: TADOBetterDataset + Joins |
|
|
Hello,
I have got a TBetterADODataSet using a query multi joins and i would like to
be able to modifiy every fields like we can do we IBQuery and IBUpdateSQL.
Has someone got and exemple please.
Thanks with friendly
|
|
| Back to top |
|
 |
david Guest
|
Posted: Tue Sep 30, 2003 7:15 am Post subject: Re: TADOBetterDataset + Joins |
|
|
Yes i have tried but it doesn't work, I would like to manually execute
update statement, but I don't know where to do this.
I have tried in beforepost even't but the dataset see that the record
has been modified and an exception is raised !!! :-@
Le 30/09/2003, "Brian Bushay TeamB" a supposé :
| Quote: | I have got a TBetterADODataSet using a query multi joins and i would like to
be able to modifiy every fields like we can do we IBQuery and IBUpdateSQL.
Has someone got and exemple please.
Have you tried just editing the field values? With ADO Joins are supposed to
be editable. With SQL server and Access most joins are editable. With
other ole db drivers you will need to test.
|
--
o--O--o
David
|
|
| Back to top |
|
 |
Arthur Hoornweg Guest
|
Posted: Wed Oct 01, 2003 6:39 am Post subject: Re: TADOBetterDataset + Joins |
|
|
Brian Bushay TeamB wrote:
| Quote: | You need to use CANCEL to cancel the current record out of Edit mode
then ABORT to cancel out of the event.
|
Very nice technique. Is it also possible to synchronize
the current record on display with the database contents
of the record?
--
Arthur Hoornweg
(please remove the ".net" from my e-mail address)
|
|
| Back to top |
|
 |
david Guest
|
Posted: Wed Oct 01, 2003 7:39 am Post subject: Re: TADOBetterDataset + Joins |
|
|
Have you gor an exemple ?
"Brian Bushay TeamB" a exposé le 01/10/2003 :
| Quote: | Yes i have tried but it doesn't work, I would like to manually execute
update statement, but I don't know where to do this.
I have tried in beforepost even't but the dataset see that the record
has been modified and an exception is raised !!! :-@
If you modify the record in the BeforePost
You need to use CANCEL to cancel the current record out of Edit mode
then ABORT to cancel out of the event.
|
--
o--O--o
David
|
|
| Back to top |
|
 |
|