[Visual Basic 6.0] Binding Controls to DataFields
I have a database front end in which I'm experimenting with using properties, binding etc. instead of lots of longwinded code. I have textboxes and comboboxes bound to a data control, connecting to fields in a database (sorry if my terminology is a bit out here) This is working nicely except that editing any of the textboxes automatically changes the respective entry in the database, without me calling the update method.
By preference, it'd be set up so that when users edit a textbox, they have to click a button to update the database and otherwise it would just stay as it was.
Question is, can this be done while I'm still binding controls to the data control or do I have to do it by steam?
__________________
"No one was behaving from very Buddhist motives. Then, thought Pigsy, he was hardly a Buddha, nor was he a monkey. Presently, he was a pig spirit changed into a little girl pretending to be a little boy to be offered to a water monster. It was all very simple to a pig spirit."
|