Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show text in empty combo box
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How to show text in empty combo box
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01396996
Message ID:
01396996
Views:
371
I have a class, that is setup via these properties.
I place the fields for an sql query in properties of the combo box.
In the init of the combo box, I build the sql, and then I execute.

What is happening is this. Since the field is bound to a control source, it is showing whatever that value is. This I want, but...
I have found the following bug when the table has no records, i.e. all records have been deleted. It displays the first record, even though it is deleted.
What I would like to do, is it there are no records returned, I would like to display some text, like 'No Data' o 'Empty' to let the user know there is no data as opposed to the above.

Mike
Next
Reply
Map
View

Click here to load this message in the networking platform