Hi All,
I have a sql server 2008 backend and with an access 2003 frontend. I am trying to run a stored proc from access:
It gives me an error: 3162 your tried to assign a null value to a variable that is not a variable data.
When I try to run the stored proc outside the form it begins to run and stops.
I check the table and its half complete. There are no nulls in the table I'm working with.
Can anyone tell me what Im doing wrong?
I have a sql server 2008 backend and with an access 2003 frontend. I am trying to run a stored proc from access:
Code:
Public Function CONVERTDATAtest()
On Error GoTo Err_CONVERTDATA
'Update temporary table and import records into corresponding tables
DoCmd.OpenQuery "usp_DUTIESANDTAXESUPDATE"
DoCmd.OpenQuery "qryDTFInvoice_append_test"
DoCmd.OpenQuery "qryDTFShip_TEMP_Append_test_passthru"
MsgBox "CONVERSION Completed"
Exit_CONVERTDATA:
Exit Function
Err_CONVERTDATA:
MsgBox Str(Err.Number) & " - " & Err.Description
Resume Exit_CONVERTDATA
End Function
When I try to run the stored proc outside the form it begins to run and stops.
I check the table and its half complete. There are no nulls in the table I'm working with.
Can anyone tell me what Im doing wrong?