michaeld
Posts: 1
|
| Posted: 04/12/2007, 12:54 PM |
|
I keep getting this error when I run this. Can anyone help me please?
This is the error message:
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "22-25"]'
/Title1/Report_Gd1Spring_events.asp, line 4
This is the code:
'Custom Code @39-73254650
' -------------------------
If skills.Q4_1.Value= 15 then skills.Q4_1.Value = "22-25"
If skills.Q4_1.Value= 10 then skills.Q4_1.Value = "16-21"
If skills.Q4_1.Value= 4 then skills.Q4_1.Value = "13-15"
If skills.Q4_1.Value= 0 then skills.Q4_1.Value = "12 & Below"
' -------------------------
'End Custom Code
|
 |
 |
mhope
Posts: 37
|
| Posted: 04/12/2007, 2:20 PM |
|
Change the field to text should fix
You start off with numbers then if they meet your requirements change them to a text string. Looking at the "string" error
Hope that helps
|
 |
 |
|