This topic is locked
[SOLVED]

 what's wrong in this code

9/11/2011 3:49:36 AM
ASPRunnerPro General questions
M
mr. zx author

Hi All,
i create this code in the list page after record is processed.

can any one tell me what's wrong in this code

***

If CDate(data("Date Entered")) = now() then

dim tmpDict

set tmpDict = CreateObject("Scripting.Dictionary")

tmpDict("to")="test@test.com"

tmpDict("subject")="Sample subject"

tmpDict("body")="Hello there" & vbcrlf & "Best regards"

set ret=runner_mail(tmpDict)

if not ret("mailed") then

response.write ret("message")

end if

end if

**

Regards,

Sergey Kornilov admin 9/11/2011

Probably nothing is wrong with this code. Does it produce any errors? What are symptoms?

M
mr. zx author 9/12/2011



Probably nothing is wrong with this code. Does it produce any errors? What are symptoms?


so what about this message :
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'values'
/testif/kyc_list.asp, line 0
Thanks,

Sergey Kornilov admin 9/12/2011

The code you posted don't use values variable. This error comes from somewhere else.

M
mr. zx author 9/13/2011



The code you posted don't use values variable. This error comes from somewhere else.



Thank you very much