Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dropdown List Problem with -1
Message
From
05/05/2004 05:21:56
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00900645
Message ID:
00901112
Views:
32
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform