4461766964
Member
VB.NET 2008
Writing a new application to work with an Access database has been like pulling teeth. Having used VB6 I was relatively sure I would be able to figure things out on the fly. I am now to a critical point where my choices will drastically affect the efficiency and size of the application.
Specifically, I am curious if there is a best practices recommendation for capturing user input for new and updated records when working with a database? In VB6 this was simple using control.afterupdate. However, this feature no longer exists. And control.validate fires no matter whether the information was changed or not. Likewise, using control.enter and control.leave for each of my 25 controls would be like writing a small book. My crummy .NET book and all the examples I have found on the Internet encourage the use of an "Update" button. However, this is shocking to me as I would assume most people would like their program to be just like the great and mighty Access... I would never torture my users into hitting an update button each and every time they added or changed something.
As always there are dozens of ways to do this. So what is the most efficient and/or recommended means of capturing an update to any given control? I'm not necessarily looking for code here. Maybe just a direction to head would be good. Thanks
David
Writing a new application to work with an Access database has been like pulling teeth. Having used VB6 I was relatively sure I would be able to figure things out on the fly. I am now to a critical point where my choices will drastically affect the efficiency and size of the application.
Specifically, I am curious if there is a best practices recommendation for capturing user input for new and updated records when working with a database? In VB6 this was simple using control.afterupdate. However, this feature no longer exists. And control.validate fires no matter whether the information was changed or not. Likewise, using control.enter and control.leave for each of my 25 controls would be like writing a small book. My crummy .NET book and all the examples I have found on the Internet encourage the use of an "Update" button. However, this is shocking to me as I would assume most people would like their program to be just like the great and mighty Access... I would never torture my users into hitting an update button each and every time they added or changed something.
As always there are dozens of ways to do this. So what is the most efficient and/or recommended means of capturing an update to any given control? I'm not necessarily looking for code here. Maybe just a direction to head would be good. Thanks
David