Embedding DBLookupComboBox into Data Inspector
If i use a DB Combo Box by itself using the navigator feature, when the form loads, the combobox will have the currently selected record in it. If i embed the dbcombobox into a datainspector using the custom control, the combo box is blank when the form loads and the user has to click the combo box to select a record. How to i get the combobox to behave the same inside the data inspector as it does when it is alone on the form? I have tried having the custom control paint, having it not paint, etc. but nothing seems to make it work like it does when the DBComboBox is on a form by itself. ie. Automaticaly showing the selected item in the data set.
-
I would require more info (sample project) to understand what you are doing and trying to do. When using the navigator option of the lookup combo, it is no longer bound to the field. In other words the value no longer updates the database and only reflects the position of the lookup table. I assume you are using it in an unbound inspector, but I need precise steps to understand your issue.
Please sign in to leave a comment.
Comments
1 comment