|
I have the following code :
Dim heigh
heigh = Request.Form("height")
heigh = Right(heigh, 5)
This return 1.75m
if heigh > 3 then
'Len(Request.Form("height")) > 3 Then
I subsitute If Len(Request.Form("height")) > 3 Then
with the following code
if heigh > 3 then
When I run the code I get the following errors:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: "1.70m"]'
/VipModels/searcher1A.asp, line 67
Thank you for your help
|