|
-
Feb 14th, 2005, 09:54 AM
#1
Thread Starter
Addicted Member
Ado [RESOLVED]
With respect to ADO can somebody tell me the differance between Update and UpdateBatch
Last edited by mik706; Feb 14th, 2005 at 10:16 AM.
Mik706
-
Feb 14th, 2005, 10:01 AM
#2
Re: Ado
Easy... Update is used with connected recordsets (that still have an open & valid connection to the data source) to send the changes to the current record back to the database.
UpdateBatch is primarily used with disconnected recordset to send a batch of updated back to the database (after it's been re-connected). I've done this a lot, get RS, diconnect it, perform data changes, reconnect and update batch. THe key to this one is when getting the recordset, amking sure it's opened with the batch operation setting on.
Tg
-
Feb 14th, 2005, 10:16 AM
#3
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|