DBLookupListBox weird behavior
Posted on 1997-09-13
I have a DBLookupListBox on a form which is bound to a table. It shows the 'name' field from that table. To the right of that DBLookupListBox, I have text boxes that are bound to related fields from the same table as the DBLookupListBox. I have it so that by typing a string in
an unbound text box, it does a search on the 'name' field in the underlying table by using the Locate function. The bound text boxes to the right of the DBLookupListBox update properly when a new record is found. The DBLookupListBox shows the new record *but*, it doesn't move the highlighted bar to the current record. It keeps the highlighted bar on
the previous record that it was on even though it is not on that record anymore in the table. I have tried setting focus, refreshing, and updating the DBLookupListBox in many combinations. Is this just a bug of sorts of the DBLookupListBox component?