Hi, Angie.
Ah - VFP combos - the bane of many a developer's life.
As you're adding to the list with AddListItem() I'm assuming that the combo's RowSourceType = 0 (none)?
I don't see why having a -ve value as a text string should be a problem. But what is it Bound to - a field in a table? If so what data type is the field in the table? If you're just using the combo-returned value to decide on further processing, why is it bound? Why then do you need to have a BoundColumn? You can just say something like:
lcFruitIndex = thisform.YourList.List( thisform.yourlist.list.listindex, 2)
If lcFruitIndex = "-1"
...
Endif
HTH
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.