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:
01155245
Views:
12
>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?


BTW, if you have ONLY these 4 values you could use OptionGroup with 4 buttons and enable./disable them depending of current value of the cStatus_cId field.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform