Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox list opens then closes
Message
From
08/07/2016 02:30:08
 
 
To
07/07/2016 18:30:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01638085
Message ID:
01638101
Views:
120
>These are the only things changed:
>
>Got Focus:
>
>KEYBOARD '{ALT+DNARROW}'
>
>
>Click:
>
>lcTech=this.value
>lcTechEmail=tech.email
>
>
>Properties:
>
>ControlSource=lcTech
>RowSource=tech.tech
>RowSourceType=6 - fields
>Style=2 - Dropdown List
>
Although I never use RowSourceType = 6 myself, I think I see what's wrong. Your RowSource indicates a specific field, while RowSourceType indicates Fields. Of course VFP is confused, since the two values conflict. A RowSourceType of 6 will require a table name as RowSource, so that the combo can show the available fields.
Previous
Reply
Map
View

Click here to load this message in the networking platform