Hi Tim.
>> This is a drop down combo and I can type but as soon
as I resize the grid that contains it or when the valid event
fires....The values are gone.
I can only select items from the list and then it works. <<
Are you saying that the combo goes blank when you type in a value that is not in its RowSource? This is exactly what I would expect to happen. You must take action in the combo's Valid to add the item if it is not yet in the Combo's RowSource. Code something like this:
WITH This
IF .ListIndex = 0 AND NOT EMPTY( .DisplayValue )
.Requery()
ENDIF
ENDWITH
If what you want is a combo that you can bind to values that are
not in its RowSource, check out "1001 Things You Wanted To Know About Visual FoxPro" (Akins, Kramek & Schummer May, 2000) at
www.Hentzenwerke.com. There is a combo class that does this in Chapter 5.
Marcia