Update: the code runs when clicking on a combobox item but does not if the number is typed in and the pointer exits the box. But the problem still exist if the code is in the lostfocus event. The combobox does not have a value if the user types in a value. So the method is never called.That is correct. If you need to be able to add values to your combo on the fly, you need code like this in the Valid method:
IF NOT EMPTY( This.DisplayValue ) AND This.ListIndex = 0
lnLen = ALEN( This.aAccts, 1 ) + 1
DIMENSION This.aAccts[ lnLen ]
This.Requery()
ENDIF