I have two functions, both of which call on stored procedures to do certain things.
Function 1 uses 2 parameters to build a recordset.
Function 2 calls function 1 to assemble the recordset and then tries to filter that recordset as a check before doing anything else. When I call Function 1 from Function 2 (Set rs = Function1(param1, param2), I get the following error:
Object doesn't support this property or method: 'rs.Filter'
I also get the same error when trying to use .EOF
In function 1, I am using a Command Object to run the stored prodedure. I then set the RecordSet with Set rs = cmd1.Execute. Then I set the function = rs.
I can't tell what is going wrong when the recordset from Function 1 comes back into Function 2.
I would greatly appreciate any advice on this.
Function 1 uses 2 parameters to build a recordset.
Function 2 calls function 1 to assemble the recordset and then tries to filter that recordset as a check before doing anything else. When I call Function 1 from Function 2 (Set rs = Function1(param1, param2), I get the following error:
Object doesn't support this property or method: 'rs.Filter'
I also get the same error when trying to use .EOF
In function 1, I am using a Command Object to run the stored prodedure. I then set the RecordSet with Set rs = cmd1.Execute. Then I set the function = rs.
I can't tell what is going wrong when the recordset from Function 1 comes back into Function 2.
I would greatly appreciate any advice on this.