🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
1 messages
1 total messages Started by Piero Salandin Mon, 09 Apr 2001 10:10
TADODataSet::UpdateBatch: how to intercept errors?
#5536
Author: Piero Salandin
Date: Mon, 09 Apr 2001 10:10
18 lines
1604 bytes
I am trying to put ap a "Transactional Way" of updating data on MS SQL
Server via ADO components, mand I'm currently trying the BatchUpdate system.

The method TADODataSet::UpdateBatch() returns a void, so it is not worth to
ask it what has happened during the update operations.

I didn't find any event in the TADODataSet events list which helped me to
get the errors, or at least the fact that some errors occurred!

I even tried to intercept the TADOConnection OnInfoMessage event, but
apparently it has not been fired even in case of error.

What can I do?


--
Ing. Piero Salandin
piero.salandin@libero.it
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads