A
Andrius
Hi,
My install is:
Access 2000, SP3; Jet 4.0 SP8; MDAC 2.7
Explanation of my situation:
I am setting recordset for my Access 2000 form like this:
oCmd.ActiveConnection = ...
oCmd.CommandType = adCmdStoredProc
oCmd.CommandTimeout = 0
oCmd.CommandText = "spMySP"
RS.Open oCmd, , adOpenKeyset, adLockBatchOptimistic
Set Me.fsuDetails.Form.Recordset = RS
Everything works well, but,
after applying filter (filter by selection)
on that form I can't anymore operate on form
recordset object. Any operation with form recordset causes
"ActiveX component can't create object" error message.
Removing filter by pressing toolbar button - doesn't help
- any operation on recordset shows error,
even more, sometimes Access 2000 crashes.
After closing and reopening that recordset - everything is OK.
(of course - filter removing occurred).
Is this Access 2000 bug or ADO bug - does anybody encountered such a
situation ?
Regards,
Andrius.
My install is:
Access 2000, SP3; Jet 4.0 SP8; MDAC 2.7
Explanation of my situation:
I am setting recordset for my Access 2000 form like this:
oCmd.ActiveConnection = ...
oCmd.CommandType = adCmdStoredProc
oCmd.CommandTimeout = 0
oCmd.CommandText = "spMySP"
RS.Open oCmd, , adOpenKeyset, adLockBatchOptimistic
Set Me.fsuDetails.Form.Recordset = RS
Everything works well, but,
after applying filter (filter by selection)
on that form I can't anymore operate on form
recordset object. Any operation with form recordset causes
"ActiveX component can't create object" error message.
Removing filter by pressing toolbar button - doesn't help
- any operation on recordset shows error,
even more, sometimes Access 2000 crashes.
After closing and reopening that recordset - everything is OK.
(of course - filter removing occurred).
Is this Access 2000 bug or ADO bug - does anybody encountered such a
situation ?
Regards,
Andrius.