Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement