I keep getting this error when the pdf report tries to create
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'clng'
D:\HOSTINGSPACES\WOONGARR\WOONGARRAHFC.COM.AU\WWWROOT\ADMIN\../dwzExport/PdfExport.asp, line 1017
This is the code it stops at line 1017
Red = clng("&H" & Mid(HexColor, 1, 2)) 'The red value is now the long version of "00" Green = clng("&H" & Mid(HexColor, 3, 2)) 'The red value is now the long version of "FF" Blue = clng("&H" & Mid(HexColor, 5, 2)) 'The red value is now the long version of "1F" if color = "R" then GetColor = Red elseif color = "G" then GetColor = Green else GetColor = Blue end if End Function end class %>
Kevin W |
|
|