If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Applications & Tools > visual basic 5.0 ado equivalent to Refresh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-21-04, 11:44
dgears dgears is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
visual basic 5.0 ado equivalent to Refresh

I have an vb5.0 application that uses DAO and has linked access 97 tables. I need to upgrade to access 2000. Since there are problems with DAO and access 2000 I decided to change to ADO. What I would like to know is there an equivalent command to refresh in ADO. My data controls all use the refresh command.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-22-04, 10:56
rami.haddad rami.haddad is offline
Registered User
 
Join Date: Jan 2004
Posts: 184
Re: visual basic 5.0 ado equivalent to Refresh

There are two commands in the ADO recordset object that does what you say.

rs.requery

and

and rs.resync

Requery retreives the full recordset, resync just rescychronises with the database, either the current record or all records depending on your criteria.

I would highly recommend this tool:

http://www.geocities.com/scirocco_ha/DataControl.htm

Quote:
Originally posted by dgears
I have an vb5.0 application that uses DAO and has linked access 97 tables. I need to upgrade to access 2000. Since there are problems with DAO and access 2000 I decided to change to ADO. What I would like to know is there an equivalent command to refresh in ADO. My data controls all use the refresh command.

Thanks.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On