Hi All
I have a subform attached to a main form whose recordset is bound to a SQL Server stored procedure. I can get the sproc data to populate the subform just fine using
sproc_rst being an ADODB recordset.
However the very next line, I am trying to check if records exist in the subform and im using
[/CODE]
The code breaks opening my ODBC datasources window prompting for an ODBC connection. I have been able to use this before so not sure whats changed in Access 2021. Any help on this would be appreciated.
Thanks
I have a subform attached to a main form whose recordset is bound to a SQL Server stored procedure. I can get the sproc data to populate the subform just fine using
Code:
set subformname.form.recordset = sproc_rst
sproc_rst being an ADODB recordset.
However the very next line, I am trying to check if records exist in the subform and im using
Code:
[CODE]dim rsclone as recordset
set rsclone = me.subformname.form.recordsetclone
The code breaks opening my ODBC datasources window prompting for an ODBC connection. I have been able to use this before so not sure whats changed in Access 2021. Any help on this would be appreciated.
Thanks