Hi,
When I run the code beneath which is in a DLL, the last line gives me the following error message...
"Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another"
Dim oRs As Recordset
Set oRs = New Recordset
Dim strSQL As String
strSQL = "Select * from tblDeliveries Where Job ='" & strJobNo & "'"
oRs.Open strSQL ', oConn, adOpenKeyset, adLockOptimistic
Can anyone explain to me what the reason for this is?
Any help gratefully reeived,
Thanks,
Robin
When I run the code beneath which is in a DLL, the last line gives me the following error message...
"Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another"
Dim oRs As Recordset
Set oRs = New Recordset
Dim strSQL As String
strSQL = "Select * from tblDeliveries Where Job ='" & strJobNo & "'"
oRs.Open strSQL ', oConn, adOpenKeyset, adLockOptimistic
Can anyone explain to me what the reason for this is?
Any help gratefully reeived,
Thanks,
Robin