G
geert
Hello
Guys
I have this beginning in code and on the last line of code I've got
the error 'object required' and it shows me the value of rs2=nothing.
The sql string should return a value, checked by a query. Can someone
help?
Dim sqlstr1 As String
Dim rs2 As Recordset
sqlstr1 = "SELECT Sum(Qry_COFI_bis.SCHULD) AS SumOfSCHULD FROM
Qry_COFI_bis;"
Set rs2 = db1.OpenRecordset(sqlstr1)
Guys
I have this beginning in code and on the last line of code I've got
the error 'object required' and it shows me the value of rs2=nothing.
The sql string should return a value, checked by a query. Can someone
help?
Dim sqlstr1 As String
Dim rs2 As Recordset
sqlstr1 = "SELECT Sum(Qry_COFI_bis.SCHULD) AS SumOfSCHULD FROM
Qry_COFI_bis;"
Set rs2 = db1.OpenRecordset(sqlstr1)