Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show text in empty combo box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
How to show text in empty combo box
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01396996
Message ID:
01396996
Vues:
372
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform