G
Guest
Hi,
I am tryign to get a reference to a listbox that I assigned a query to:
It's initial rowsource is a query that returns 0 rows.
The type of the rowsource is table/query.
I have the following recordset declared:
Dim rsRules as ADODB.Recordset
When I try to assign my listbox's recordset to this variable using:
Set rsRules = lstRules.Recordset
I get an error 13 (type mismatch). My listbox's recordset is of type
Object/Recordset so I don't understand why I am getting this error. Should I
declare my variable as some other type of recordset possibly?
I am tryign to get a reference to a listbox that I assigned a query to:
It's initial rowsource is a query that returns 0 rows.
The type of the rowsource is table/query.
I have the following recordset declared:
Dim rsRules as ADODB.Recordset
When I try to assign my listbox's recordset to this variable using:
Set rsRules = lstRules.Recordset
I get an error 13 (type mismatch). My listbox's recordset is of type
Object/Recordset so I don't understand why I am getting this error. Should I
declare my variable as some other type of recordset possibly?