General information
Category:
Forms & Form designer
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.
>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only