Avoid saving data after browse
Posted: Tue 15 Apr 2008 08:19
Hi,
I have a DBLookupComboBox and some DBEdit's with the same datasource.
When I change the value of an DBEdit, and then change the value of the Combobox, the data will be posted although the query has dsBrowse state.
I want the user to hit a button to save the changes, and the changes should be rejected if he scrolls the combobox without pressing the save-button before.
What's the best way to do this?
Thank you,
ben
I have a DBLookupComboBox and some DBEdit's with the same datasource.
When I change the value of an DBEdit, and then change the value of the Combobox, the data will be posted although the query has dsBrowse state.
I want the user to hit a button to save the changes, and the changes should be rejected if he scrolls the combobox without pressing the save-button before.
What's the best way to do this?
Thank you,
ben