Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First Element in a Combo Box using an Array as Rowsource
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00065236
Message ID:
00065238
Views:
62
>I have a combobox that uses "5 - Array" as the rowsourcetype. I want the first element of the array to be the item displayed in the combobox when the user goes to ADD a new record. I have the FirstElement set to 1. When the user Adds a record, the value in the combo-box is empty; when the user clicks on the box to drop-down the list, the 'default' value is a blank item at the bottom of the Array. I have the combo-box datasource set to one of the fields in the tables I use in the form.
>
>Anyone know what I am doing wrong.

You have bound combobox, therefore when you add new record you should fill field linked to combo immediately (e.g. default value) to get right display.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform