Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox selection not showing
Message
From
01/07/2011 16:32:07
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01517094
Message ID:
01517106
Views:
56
>Have a table listing of bid numbers and the combobox is supposed to allow the user to select one and then they click a CONTINUE button to move on. The problem is that after they select a Bid# they do not see it in the Combobox....although it is selected.
>
>BoundColumn =1
>BoundTo=.F.
>ControlSource = variable ending up with value
>FirstElement = 1
>Number of Elements = 0
>RecordSource = tablename.BidNo
>RecordSourceType = 6
>ColumnCount = 1

First, I can't tell whether these are Property Sheet settings or code you're running.

Second, you almost never need to set FirstElement or NumberOfElements for a combo. They're only meaningful when RowSourceType is 5-Array. Any time you think you need to set those properties, what you probably need is to call the Combo's Requery method.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform