Hello,
I have a TDBLookupListBox and a few DBEdit components that are all connected to the same table. If you make a change on one of the DBEdits and then move to a different record using the TDBLookupListBox it changes the record. Is there a way to prevent this? (I basically want to force the user to push a button for the changes to take place and not just by moving to another record)
Thanks
---Dave
preventing a record from being updated
The Borland's conception doesn't offer any suitable way to solve this problem. You can try disabling TDBLookupListBox (DBLookupListBox.Enabled := False) after record was edited. The second way is handling events of the control inherited from TDataSet (TMyQuery, TMyTable etc). Please refer to Delphi help for more information about TDataSet events.