Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right way with combo box control?
Message
From
05/06/2008 08:27:13
 
 
To
04/06/2008 16:08:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320984
Message ID:
01321825
Views:
20
>Hi Marcia,
>
>Got everything mostly working...thanks for the help. One thing I noticed though when doing some other testing is if the combo starts up with nothing picked (because in this case, I just appended a record and the value of the "ID" field is zero which does not have a corresponding option in the combos rows)...in this case, the .ListItemID was 1 (when I thought it would be zero or as the book states, -1) although .ListItem was correctly zero. I was using .ListItemID throughout my code as that was "safer" if I happen to append or remove items from the list.
>
>So something seems to have changed. Any ideas or did VFP change over time?

Remind me. You're set ControlSource to the relevant field? Refreshed the combo?

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform