I want to develop a control which can be bound to a datasource.

More I want is whenever the datasource is opened as adLockReadOnly or the recordset
is empty, my usercontrol will be automaticly disabled. How can I achieve this feature?

Thanks in advance.

//-----------------------------------------\\
Where there's a wire , there's a way
\\-----------------------------------------//