Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I filter a combo based on its current contents
Message
 
 
To
19/09/2006 15:48:43
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01155236
Message ID:
01155246
Views:
17
>I have to restrict the status of loans in a current application and I'm not quite sure the best way to do it. The loans can have a status of "Pending", "Active", "Void" and "Loss". The tricky part is if the loan is currently "Active" the status can be changed to "Void" or "Loss" but not "Pending". The status is stored as cStatus_cId the loan file and uses a comboBox control on the form. Is it possible to filter the combobox based on it's current contents?

I guess you would have to reload your combobox in Interactive_Change method and in Init method. You may also re-load when you navigate through records...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform