L
Larry
I am trying to get the rowcount for the form's recordset
in the open event of the form.
I basically do the following. Note, the error happens on
the SET step and in the MDB and MDE.
dim rst as dao.recordset
set rst = Me.recordset
irows = rst.recordcount
This works on some PC's and not others. On the one's it
does not work, I get an error "ActiveX control can't be
created"
I have verified that the reference files exist in the same
location on the PC's that do not work (basically DAO3.6
and ADO 2.1).
All I am trying to do is get the total rows returned to
the form initially on open. Any help would be greatly
appreciated.
Larry
in the open event of the form.
I basically do the following. Note, the error happens on
the SET step and in the MDB and MDE.
dim rst as dao.recordset
set rst = Me.recordset
irows = rst.recordcount
This works on some PC's and not others. On the one's it
does not work, I get an error "ActiveX control can't be
created"
I have verified that the reference files exist in the same
location on the PC's that do not work (basically DAO3.6
and ADO 2.1).
All I am trying to do is get the total rows returned to
the form initially on open. Any help would be greatly
appreciated.
Larry