I have a simple wwDBGrid with 4 columns. 2 of the columns are of type CustomEdit and have a wwDBLookupCombo as the control. Both of these wwDBLookupCombo' have the same DataSource and DataField properties. The difference is in the lookup table. For example, one of the columns is by an ID number the other by a Name. When I change the value in wwDBLookupCombo #1, the selected item does not update the wwDBlookupCombo #2's display. For example, if the wwDBGrid contains Order Line Items, Column #1 that contains a wwDBLookupCombo has a lookuptable of Products, with the search based on the Product Number field. Then next column on the grid is the line item's Product Name. The product name is not "refreshed" when the Produce Code is chosen. It will only refresh when I save the record. Is there a way to get the proper value displayed in the other wwDBLookupCombo without forcing the record to be saved? Thank you for any help.
top of page
bottom of page
I resolved the issue I was experiencing. The problem stemmed from another control updating the "DataField" value which then required that the wwDBLookupCombos needed to issue a "PerformSearch" after that, all worked fine.