Hello,
I have a problem with the use of a DBCombobox together with TOracledataset.
The DBCombobox is used to show the value of a field out of the query in the TOracledataset. The itemlist of the DBCombobox is filled with all actually used values of this field.
The Toracledataset is active and the correct value is shown in the DBCombobox.
Now my first problem:
When I select the value in the DBCombobox and do a CTRL+C to copy the value, the TOracledataset starts a refreshrecord, changes the status to dsEdit and the value is not copied to the clipboard. This seems to me an error, because Ctrl+C is always a read and should not change the status.
My second problem is similar.
The status of the TOracledataset is dsBrowse and I try to copy the value out of the clipboard into the Comboboxfield by using CTRL+V the TOracledataset starts a refreshrecord, changes the status to dsEdit and after this refresh, the old value is again in the combobox-Field.
How can I subpress this Refreshrecord procedure when I try to copy or paste the value to DBCombobox?
Copy or Paste work without refreshrecord on a DBEdit field.
Best regards
I have a problem with the use of a DBCombobox together with TOracledataset.
The DBCombobox is used to show the value of a field out of the query in the TOracledataset. The itemlist of the DBCombobox is filled with all actually used values of this field.
The Toracledataset is active and the correct value is shown in the DBCombobox.
Now my first problem:
When I select the value in the DBCombobox and do a CTRL+C to copy the value, the TOracledataset starts a refreshrecord, changes the status to dsEdit and the value is not copied to the clipboard. This seems to me an error, because Ctrl+C is always a read and should not change the status.
My second problem is similar.
The status of the TOracledataset is dsBrowse and I try to copy the value out of the clipboard into the Comboboxfield by using CTRL+V the TOracledataset starts a refreshrecord, changes the status to dsEdit and after this refresh, the old value is again in the combobox-Field.
How can I subpress this Refreshrecord procedure when I try to copy or paste the value to DBCombobox?
Copy or Paste work without refreshrecord on a DBEdit field.
Best regards