Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to disable entries in the combobox?
Message
From
24/05/2010 13:03:48
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01465723
Message ID:
01465729
Views:
79
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I select data from SQL Server and display in the combobox. If the Hidden column value = 1 in SQL Server I want to display these values disabled.
> I tried appending \ in front of the description using case when statement, but as a result I got entries with \ in front of them.
>
>Is there a way to achieve what I want?
>
>Thanks in advance.

I got the same results when using an Alias as the rowsouorce. When I changed to an Array I got the desired result.

No idea why there is a difference, but there is a workaround.
Previous
Reply
Map
View

Click here to load this message in the networking platform