Hello all,
I am getting the following error:
it is pointing to:
.parameters("@FromAssistantID") = iAssistantID
Here is the full code:
Can you help?
If you need any more info please ask
thanks
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
To be successful inlife, you must thing your less then the person next to you.
I am getting the following error:
Code:
ADODB.Command error '800a0d5d'
Application uses a value of the wrong type for the current operation.
D:\WEBSITES\PROD03\COMMISSIONER\../_inc/_submission.asp, line 93
it is pointing to:
.parameters("@FromAssistantID") = iAssistantID
Here is the full code:
Code:
sub MoveSubmissions (iAssistantID, iFromCommieID, iTargetCommieID, sSubmissionIDs, iNotes)
if (isnumeric(iAssistantID) or isnumeric(iFromCommieID)) and isnumeric(iTargetCommieID) and len(sSubmissionIDs)>0 then
dim oCon : set oCon = server.CreateObject("adodb.connection") : oCon.open con
dim oCmd : set oCmd = server.CreateObject("adodb.command")
with oCmd
.activeconnection = oCon
.commandtext = "moveSubmission"
.commandtype = &h0004
[b].parameters("@FromAssistantID") = iAssistantID[/b]
.parameters("@ToCommissionerID") = iTargetCommieID
.parameters("@FromCommissionerID") = iFromCommieID
.parameters("@SubmissionIDs") = sSubmissionIDs
.parameters("@autoNotes") = iNotes
.execute
end with
set oCon = nothing
set oCmd = nothing
LogError "MoveSubmission", "SUCCEEDED: iAssistantID: " & iAssistantID & ", iFromCommieID: " & iFromCommieID & ", iTargetCommieID: " & iTargetCommieID & ", sSubmissionIDs: " & sSubmissionIDs & ", iNotes: " & iNotes
else
LogError "MoveSubmission", "FAILED: iAssistantID: " & iAssistantID & ", iFromCommieID: " & iFromCommieID & ", iTargetCommieID: " & iTargetCommieID & ", sSubmissionIDs: " & sSubmissionIDs & ", iNotes: " & iNotes
end if
end sub
Can you help?
If you need any more info please ask
thanks
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
To be successful inlife, you must thing your less then the person next to you.