Answer the question
In order to leave comments, you need to log in
DELPHI DblookupCombobox cancel sync?
The form has DBGrid and DBLookupComboBox, both have the same DataSource, that is, the data is taken from the same table.
And so if to change value in Combobox that visually in DBGird too this value changes how to cancel this change.
The problem is that I have two fields, one is a normal Edit Text editing window and the other is the above-mentioned DBComboBox, when data is entered into a normal Edit Text, the DBGrid data is naturally not updated (you need to click on the button) and when editing in DBComBoxLookup, they immediately change the value, although not saves (as it should be) and it all looks ugly like that.
Answer the question
In order to leave comments, you need to log in
Either for editing use TDBEdit
, or for DBGird
use separate DataSet
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question