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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05