I have defined my recordsets like this
I Open them like thisCode:Public Rs As New ADODB.Recordset
It seems to me to be a DOUBLE "NEW"Code:Set Rs = New ADODB.Recordset Rs.Open StrSql, Db, adOpenStatic, adLockOptimistic
Should it be the following -
What happens when I say "NEW" ?Code:Public Rs As ADODB.Recordset ....... Set Rs = New ADODB.Recordset Rs.Open StrSql, Db, adOpenStatic, adLockOptimistic
What is the "CORRECT" way to handle ADO Records sets ?




Reply With Quote