Runtime error 6160, data access error.
Here is what I have done, I created a customized datagrid,
in order to put on some combobox. I chose datagrid because I donot want to
handle those data connection stuff.
It works great when there is data in the backend table.
But I have the above error when the recordset is empty,
it is strange that if I use datagrid directly, everything is fine. All I
have done is that reassign the dataSource to
the underlying datagrid in my user control. Any help will be greatly appreciated.
Public Property Let DataSource(ds As Object)
Set DataGrid1.DataSource = ds
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center