I have created a Stand-Alone recordset using the following code:
m_rsFiles.Fields.Append "ID", adBigInt, , adFldKeyColumn
m_rsFiles.Fields.Append "Name", adVarChar, 100, adFldUpdatable
m_rsFiles.Fields.Append "Path", adVarChar, 255, adFldUpdatable
m_rsFiles.Open , , adOpenStatic, adLockOptimistic
I am recieveing an error when I try to bind this to an MSFlexGrid with the
following code:
Set Me.MSFlexGrid.DataSource = m_rsFiles
The Error I am recieving is the following:
Error Number 91, Object variable or With block variable not set
The recordset is open and does contain data. If anyone can tell me how to
resolve the problem it would be greatly appreciated. Thanks.