Hi
Cant say that I've had to much of a problem with cursors.
In this instance, however, it is not the RowSource that is at issue but the ControlSource. I suspect it is something to do with the underlying type of properties in an object or defined by using Public,Private, ...
Regards
Geoff
>Geoff,
>
>On the contrary, I find it nearly impossible to use a cbo RowSource'd to a cursor. So much so that my lowest level cbo class defines an array property and by default I set the cbo to use the array. I added a couple of abstract methods where the cbo instance or class can populate the method with the code (usually a SQL command) to fill the array. And all my cbos just work flawlessly on forms or in grids.
>
>>I have a little problem using a ComboBox with BoundTo=.T. and BoundColumn=2
>>
>>The problem only occurs if I am not using a cursor as the ControlSource.
>>
>>Basically, if I try to bind it to a public variable, even if I have given it a type or set an initial vailue as a property the binding with the combobox does not work properly. It will still set my control source properly but the display will only work if it is a cursor.
>>
>>I tried setting the DisplayValue but this had no effect.
>>
>>It seems to me that as long as my ControlSource is of the correct type it sould work. Is this a bug or am I doing something wrong???
May all your weeds be wildflowers