PoppapumpJ
Programmer
I have an include file with a function to build a string of all the error messages that occur. It takes 3 paramaters and builds the error message, then tacks it onto the end of any previous messages.
now, the problem is when I call this function it says 'Type mismatch error'.
Everything works fine on my development machine, but when I move it to the Production machine, it gives this error.
Any Ideas.
Thanks
Sub to build string
[tt]
sub BuildMessage(Source, Number, Description)
dim strMsgBuilder
if Source <> "" then strMsgBuilder = source & " - "
strMsgBuilder = strMsgBuilder & Number & " - " & description & "<BR>"
strMessage = strMsgBuilder
end sub
[/tt]
Call to sub
[tt]
BuildMessage "GetResources" , intret, objMachine.errMessage[/tt]
now, the problem is when I call this function it says 'Type mismatch error'.
Everything works fine on my development machine, but when I move it to the Production machine, it gives this error.
Any Ideas.
Thanks
Sub to build string
[tt]
sub BuildMessage(Source, Number, Description)
dim strMsgBuilder
if Source <> "" then strMsgBuilder = source & " - "
strMsgBuilder = strMsgBuilder & Number & " - " & description & "<BR>"
strMessage = strMsgBuilder
end sub
[/tt]
Call to sub
[tt]
BuildMessage "GetResources" , intret, objMachine.errMessage[/tt]