Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use DATE type in Combo Box
Message
De
13/01/1999 00:04:04
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00175027
Message ID:
00175342
Vues:
44
PMFJI.

Sunny,

You are now intializing aDate in the DE? I suggest that instead, try this:
1. Add a new property to form. Call it aDate[1] && The # of elements does not matter, it just tells VFP that it is an array property
2. Change your sql to SELECT INTO ARRAY thisform.aDate && As DF suggested in one alternative
3. Just for debugging purposes, I would check the array, to make sure it returns what you expect.

HTH


>Perhaps I know the problem but I don't know how to solve it.
>
>The properities of combo box are
>
>combo.ControlSource = TBL.date
>combo.Format = D
>combo.InputMask = {99/99/9999}
>combo.RowSourceType = Array
>combo.RowSource = adate
>
>TBL is a FREE TABLE which is convert from Foxpro2.6!
>
>When I remove the ControlSource, there is no error again. I think the ControlSource caused error.
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform