Start New Discussion Reply to this Discussion Vb form refreshing
Hi All,
I am trying to update my form once the delete button is clicked. There are several fields like Name, Date, Date of Birth and so on. Once I delete a record I want the form to automatically load with new / updated data. This form fetches data from MS Access using OLEDB
I have spent a long long time trying this but did not get any solution.
Please help
Regards,
Ashwin
Related Article: Dynamically refresh / update vb form
is a VB.NET discussion thread by ashwinshenoy that has 1 reply, was last updated 2 years ago and has been tagged with the keywords: automatically, form, refresh, update, vb.
ashwinshenoy
Newbie Poster
18 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Matthew N.
Junior Poster
101 posts since Jul 2010
Reputation Points: 10
Solved Threads: 10
Skill Endorsements: 0
Hi Matthew,
Thank you so much for the reply. But this does not solve my problem. I have tried ME. Refresh() earlier as well.
Once i delete the data from the Db and when i call the function to display the form, the form wont update with the new values but shows the same values but when I click click the delete button again and when the form loads this time it will be updated.
I cannot understand why it is updating during the second instance but not during the first.
Thank you so much
Ashwin
ashwinshenoy
Newbie Poster
18 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Please provide your code. Refresh method only redraws the user interface, but don't fetch new data from you database. If you provide your code, we can have a better idea of what you want to do.
dxider
Light Poster
33 posts since Mar 2011
Reputation Points: 11
Solved Threads: 5
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page rendered in 0.0749 seconds
using 2.64MB