Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

slow refresh

Status
Not open for further replies.

MarcLara

Technical User
Dec 7, 2001
54
US
I have created a VB6 front end with MS Access 2K backend application. I am using ADO. My problem is that whenever I edit a record from the front end and try to access it right away to populate a listview, it doesn't seem to be refreshing fast enough. I do not see the changes that I just did. However if I wait a few seconds (I wait by using a msgbox), it populates the listview properly. Any thoughts about this?
PS I do have the latest service for VB6, if its any help.
 
To see the changes you just did, try to refresh the record after update is success, either using rs.Requery or ADODC1.Refresh
 
I tried both, and they were hit or miss. It'll sometimes work and sometimes not. I just decided to update the listview itself without running the code that populated it in the first place. I went to the listitem that I was editing and replaced that row with the new data. The changes also reflects what is on the database. Thanks for the help though...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top