Hi all,
I'm in a serious spot of bother with this one.
Line 2 of the following code returns the error...
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
Line 3 runs fine.
Can anyone explain to me what the problem is? I need to resolve this one fairly urgently! I need to use the first method.
I'm using Active X Data Objects 2.5 library
1) sSQL = "Select * from tblDel Where Job ='" & strJobNo & "'"
2) oRs.Open sSQL, oConn, adOpenKeyset, adLockOptimistic
3) Set oRs = oConn.Execute(sSQL)
Thanks for any help,
Robin
I'm in a serious spot of bother with this one.
Line 2 of the following code returns the error...
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
Line 3 runs fine.
Can anyone explain to me what the problem is? I need to resolve this one fairly urgently! I need to use the first method.
I'm using Active X Data Objects 2.5 library
1) sSQL = "Select * from tblDel Where Job ='" & strJobNo & "'"
2) oRs.Open sSQL, oConn, adOpenKeyset, adLockOptimistic
3) Set oRs = oConn.Execute(sSQL)
Thanks for any help,
Robin