G
Guest
When I try to call a subroutine from my code, I get the following error:
Procedure call or argument is not valid.
I have checked to make sure that all variables are correct in their casting
and that there is nothing that has the same name as this sub. I cannot figure
out why this is happening. Here is the code:
21: Select Case cmd
Case "Cont"
22: slv = Request.QueryString("oid")
23: If slv = "0" Or slv = "" Then slv = "NoOID"
24: CO(slv, sid)
25: Case "FC"
26: slv = Request.QueryString("fnc")
27: FC(slv, sid)
28: End Select
The FC sub works just fine, but the CO one does not. There is absolutely no
difference in how the two are called, but for some reason I get that error.
If anyone has any ideas, please let me know.
Procedure call or argument is not valid.
I have checked to make sure that all variables are correct in their casting
and that there is nothing that has the same name as this sub. I cannot figure
out why this is happening. Here is the code:
21: Select Case cmd
Case "Cont"
22: slv = Request.QueryString("oid")
23: If slv = "0" Or slv = "" Then slv = "NoOID"
24: CO(slv, sid)
25: Case "FC"
26: slv = Request.QueryString("fnc")
27: FC(slv, sid)
28: End Select
The FC sub works just fine, but the CO one does not. There is absolutely no
difference in how the two are called, but for some reason I get that error.
If anyone has any ideas, please let me know.