Roger's Access Library Homepage
Forum Home Forum Home > Other Download Libraries > Access-L Developer's Libraries > Forbes, Michael
  New Posts New Posts RSS Feed - Unbound
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please consider donating $1 per sample downloaded, (find out why here)


 Post Reply Post Reply
Michael Forbes View Drop Down

Joined: 24 Jun 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michael Forbes Quote  Post ReplyReply Direct Link To This Post Topic: Unbound
    Posted: 10 Jul 2008 at 5:33am
This VB6 applet connects to a JET database just long enough to load the contents of a table into a listview control in the VB application, then discards the database connection (just the link, not the actual file). Label editing is set to 'manual' in the listview, so to change data, just click on the row you want to edit. The form_unload event creates another new instance of the database connection and then automatically runs through each listitem in the listview, updating the database to match any changes made by the user. It then discards the database connection again. The advantage of doing this is that the database is never opened for more than the time it takes to load the controls on the form; this is as opposed to databound controls, which can have the unfortunate effect of locking the database in a way that prevents modifications by the developer/administrator. 5) VB6 FE/A2K BE

Download VB6 FE/A2K BE: uploads/12/


No additional terms/restrictions. Distribute freely, copy freely, no need for credit.
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.