Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combox Control doesn't display bound value
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Combox Control doesn't display bound value
Miscellaneous
Thread ID:
00644101
Message ID:
00644101
Views:
43
I have made this work before, but why it doesn't work now, I don't know.

I use an array for my RowSource and bind the 2nd column to the field. The first field displays only if I click on the Combobox, but not just naturally. What am I doing wrong?

Properties for cboDomains:
BoundColumn = 2
ControlSource = vobjectives.ndomainid
Name=cboDomains
RowSource=ThisForm.aDomains
RowSourceType=5 - Array

Form property:
aDomains[1,0]

Form Load event:
SELECT cDomain, nDomainID ;
FROM Domain ;
ORDER BY cDomain ;
INTO ARRAY ThisForm.aDomains

SET MULTILOCKS ON
SELECT VObjectives
LOCATE && Takes you to first record faster than GOTO TOP.
Next
Reply
Map
View

Click here to load this message in the networking platform