knulo
User
 Senior Boarder
| Posts: 38 |   | Karma: 1 |
|
How to use TADUpdateSQL?
|
|
Posted: 2007/06/18 12:19 |
|
|
|
|
Hi,
I am about to porting a project from BDE to AnyDAC. With BDE I used for instance TUpateSQL(ukModify). Now I have to deal with TADUpdateSQL and don't know what to put as second and third parameter. As first parameter I write 'arUpdate' - that's easy.  For the third I put TADPhysUpdateRowOptions() << uoImmediateUpd
| is that a good idea? And what is about the second parameter? Is that an error handler?
** edit **
I found out: No error handler but an error condition (right?). enum TADErrorAction { eaFail, eaSkip, eaRetry, eaApplied, eaDefault, eaExitSuccess, eaExitFailure };
| New question: What's the difference in behaviour between (for instance) eaFail and eaExitFailure? And - because it's passed by reference - what comes back?
Regards knulo
Post edited by: knulo, at: 2007/06/21 08:31
|
|