RE: Resync or Requiry
From: Kevin Yu [MSFT] (v-kevy_at_online.microsoft.com)
Date: 03/04/04
- Next message: Sam Lau: "DataShape Sorting"
- Previous message: Bob Whitehead: "Re: HELP!!!! MDAC Version Considerations"
- In reply to: Michael Tissington: "Resync or Requiry"
- Next in thread: Gaurav: "RE: Resync or Requiry"
- Reply: Gaurav: "RE: Resync or Requiry"
- Reply: Michael Tissington: "Re: Resync or Requiry"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 04 Mar 2004 02:09:28 GMT
Hi Michael,
Thank you for posting in the community!
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know the performance
difference between Resync and Requery method. If there is any
misunderstanding, please feel free to let me know.
Based on MSDN document, Requery method updates the data in a Recordset
object by re-executing the query on which the object is based while Resync
mehod refreshes the data in the current Recordset object, or Fields
collection of a Record object, from the underlying database.
Unlike the Requery method, the Resync method does not re-execute the
Recordset object's underlying command. New records in the underlying
database will not be visible. It just looks in the data source for changes,
and then refresh the current Recordset. So generally, I think the Resync
method might be faster in performance.
For more information about Requery method and Resync method, please check
the following links for reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/
mdmthadorequery.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/
mdmthadoresync.asp
Does this answer your question? If anything is unclear, please feel free to
reply to the post.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
- Next message: Sam Lau: "DataShape Sorting"
- Previous message: Bob Whitehead: "Re: HELP!!!! MDAC Version Considerations"
- In reply to: Michael Tissington: "Resync or Requiry"
- Next in thread: Gaurav: "RE: Resync or Requiry"
- Reply: Gaurav: "RE: Resync or Requiry"
- Reply: Michael Tissington: "Re: Resync or Requiry"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|