E
Earl
A concept I've waffled on from time-to-time with ADO.Net: how often to
submit updates back to the database. For example, I have some CF apps where
it's quite obvious the *when* part of submitting the update -- soon as you
come off of the record. For other desktop apps, it's not quite so obvious.
For example, I have a CRM app where there are dozens of fields for one
customer record, as well as many different datatables for sales,
appointments, etc.. So, I wonder: submit the update every time a single
change is made or submit it only when a different customer is selected? The
downside to the update for every single change is the obvious network/server
overhead; the downside for waiting on a customer change is what if the app
gets closed/crashes, etc? I'm not looking for a *right* answer here, just
some opinions. Thoughts, strategies, ideas from others would be appreciated.
submit updates back to the database. For example, I have some CF apps where
it's quite obvious the *when* part of submitting the update -- soon as you
come off of the record. For other desktop apps, it's not quite so obvious.
For example, I have a CRM app where there are dozens of fields for one
customer record, as well as many different datatables for sales,
appointments, etc.. So, I wonder: submit the update every time a single
change is made or submit it only when a different customer is selected? The
downside to the update for every single change is the obvious network/server
overhead; the downside for waiting on a customer change is what if the app
gets closed/crashes, etc? I'm not looking for a *right* answer here, just
some opinions. Thoughts, strategies, ideas from others would be appreciated.