Sunny,
>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.
Move this code to the Init() of the combobox. Make the array a property of your combobox class and use this.aArrayName in the select. In my cCombobox class I defined an array maItems just for this purpose. I also added a SQL method to hold the SELECT statement for the cbo.
You could also make the array a property of the form, in which case you'd use thisform.aArrayName in the select.