I have the following code in my application.
Code:
Dim cnOrganize As Connection
Dim rsFile As Recordset
Set cnOrganize = New Connection
cnOrganize.Open [Connection String]
Set rsFile = New Recordset
rsFile.Open "Files", cnOrganize, adOpenForwardOnly, adLockOptimistic
Set DataGrid1.DataSource = rsFile
rsFile.close
set rsFile = nothing
cnOrganize.close
set cnOrganize = nothing
When it gets to the line setting the datasource for the datagrid I get the following error.
'7004' The rowset is not bookmarkable
Is there a way that I can bind the datagrid to the recordset?