G
Guest
Hello
A piece of code that has been working OK for some time has suddenly fallen
over with a Type Mismatch error. The line in question is :
Set rs = CurrentDb.OpenRecordset(strTableName, dbOpenDynaset)
I resolved the issue by removing the "Dim rs as Recordset" declaration and
everything has now gone back to normal, but I would be grateful if anyone
could throw any light on why this may have happened?
Regards.
A piece of code that has been working OK for some time has suddenly fallen
over with a Type Mismatch error. The line in question is :
Set rs = CurrentDb.OpenRecordset(strTableName, dbOpenDynaset)
I resolved the issue by removing the "Dim rs as Recordset" declaration and
everything has now gone back to normal, but I would be grateful if anyone
could throw any light on why this may have happened?
Regards.