Hello all, And a Happy New Year. I am once again stuck on a problem with the cifviewcombobox. I am now trying to bind this control to a field in the view. I have a form with three textbox controls and the cifviewcombobox (all from CB6.0), with all of the controls bound to fields in the dataenv's view. The cifviewcombobox is based on the example from Jose Constant which overwrites the init(), so the control can be used with a view instead of a SQL statement. When the form loads, all the controls show the proper values, but the combobox only flashes the correct value and then "blanks". The debugger shows the displayvalue and the value to be the proper value, but the control is blank. When an item is selected from the list, the same behavior occurs, the value flashes in the text portion of the control and subsequently disappears. The keypress method and its related methods do behave properly, in that the csearchstring builds properly and the displayvalue and value reflect the changes to the csearchstring. The value can even be seen in the textbox portion and stays there! When this same control has no controlsource, it functions absolutely prefectly. One of the other text boxes has the same controlsource, so I know it is a valid controlsource. I have removed this control, in case it was somehow interferring with the combobox, but the same behavior occured without that textbox. The memento is also seeing the change, since it asks to save changes when closing the form.
Has anyone come across this, and how did you correct it?
TIA
Mike D Devman mdevlin /at/ ajdebruin D.O.T com
©2001 Mike Devlin |