Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Combobox
Message
De
30/10/1997 15:48:55
 
 
À
30/10/1997 15:36:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00057473
Message ID:
00057475
Vues:
29
>I want to have a combobox that is bound to a date field and be able to select dates from a view. The VFP Help indicates that date is not a valid type for a combobox. Is there a way to do this?

Date is a valid value for the recordsource, but not the control source. Instead of using the controlsource property, you could blank it and do the replace with code in interactive change:

replace mytable.date with this.value

As far as updating it, just issue:
mycombo1.value = mytable.date
whenever the record pointer moves.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform