I define the array in DataEnvironment by the command 'SELECT TBL.DATE FROM TBL INTO ARRAY ADATE'. The data type is DATE. The ControlSource data type is DATE too.
I am using VFP6
Sunny
>Where is the array defined and what type of data is the ControlSource for the combobox?
>
>>Yes, I have set boundto = .T. already.
>>
>>Sunny
>>
>>>>i want to use a array to store some data. All data are in 'date' type. The data will be used to be a RowSoure in combo box. I can do it in form designer without any error. But when I run the form, an error comes out that the data type is mismatched in the combo box. But, although I have an error, the form and combo box still can work.
>>>>
>>>>Do you know what's wrong?
>>>>
>>>>Any idea is welcome.
>>>
>>>Usually, it all indicates that you forgot to set Combo.BoundTo=.T.
Can you live without the earth?
Please remind that :
"Yung Hung" is my first name;
"Yeung" is my last/family name.