Here is the error message I get:

Microsoft VBScript runtime error '800a000d'

Type mismatch

/nominee.asp, line 28

The next to the last line of this code is line 28 according to UltraEdit.

'Fill Guest of Honor string if form has nominees
if len(trim(Request.Form("goh1"))) > 0 then
strGOH = "GOH," + trim(Request.Form("goh1"))
end if
if len(trim(Request.Form("goh2"))) > 0 then
strGOH + "," + trim(Request.Form("goh2"))
end if

I'm trying to figure this one out quickly so I can get this form up and
running. Anyone have an idea?

Thanks, Jim

Re: html form asp type mismatch by Ray

Ray
Sat Apr 02 21:27:11 CST 2005

In VB Script, you should use & to concatenate strings, not +.

Ray at home

"Jim Satterfield" <jsatterfield@nospam.kc.rr.com> wrote in message
news:obJ3e.1703$PA4.946@tornado.rdc-kc.rr.com...
> Here is the error message I get:
>
> Microsoft VBScript runtime error '800a000d'
>
> Type mismatch
>
> /nominee.asp, line 28
>
> The next to the last line of this code is line 28 according to UltraEdit.
>
> 'Fill Guest of Honor string if form has nominees
> if len(trim(Request.Form("goh1"))) > 0 then
> strGOH = "GOH," + trim(Request.Form("goh1"))
> end if
> if len(trim(Request.Form("goh2"))) > 0 then
> strGOH + "," + trim(Request.Form("goh2"))
> end if
>
> I'm trying to figure this one out quickly so I can get this form up and
> running. Anyone have an idea?
>
> Thanks, Jim
>



Re: html form asp type mismatch by Jim

Jim
Sat Apr 02 22:40:38 CST 2005

Thanks, Ray.

Now I get a different error. Is this valid syntax for a WriteLine?

objGohFileTS.WriteLine(strGOH)

strGOH holds a text string.


Jim


"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u707ox$NFHA.3880@tk2msftngp13.phx.gbl...
> In VB Script, you should use & to concatenate strings, not +.
>
> Ray at home
>
> "Jim Satterfield" <jsatterfield@nospam.kc.rr.com> wrote in message
> news:obJ3e.1703$PA4.946@tornado.rdc-kc.rr.com...
>> Here is the error message I get:
>>
>> Microsoft VBScript runtime error '800a000d'
>>
>> Type mismatch
>>
>> /nominee.asp, line 28
>>
>> The next to the last line of this code is line 28 according to UltraEdit.
>>
>> 'Fill Guest of Honor string if form has nominees
>> if len(trim(Request.Form("goh1"))) > 0 then
>> strGOH = "GOH," + trim(Request.Form("goh1"))
>> end if
>> if len(trim(Request.Form("goh2"))) > 0 then
>> strGOH + "," + trim(Request.Form("goh2"))
>> end if
>>
>> I'm trying to figure this one out quickly so I can get this form up and
>> running. Anyone have an idea?
>>
>> Thanks, Jim
>>
>
>



Re: html form asp type mismatch by Bob

Bob
Sat Apr 02 23:32:50 CST 2005

It depends on what objGohFileTS is.

Perhaps if you would provide more than one line of code, someone could help
you.
You've given us the equivalent of "My car still won't run. The fuel gauge
needle is on 'F'. Don't cars run on gas?"

Bob Lehmann

"Jim Satterfield" <jsatterfield@nospam.kc.rr.com> wrote in message
news:atK3e.1508$215.769@tornado.rdc-kc.rr.com...
> Thanks, Ray.
>
> Now I get a different error. Is this valid syntax for a WriteLine?
>
> objGohFileTS.WriteLine(strGOH)
>
> strGOH holds a text string.
>
>
> Jim
>
>
> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
> message news:u707ox$NFHA.3880@tk2msftngp13.phx.gbl...
> > In VB Script, you should use & to concatenate strings, not +.
> >
> > Ray at home
> >
> > "Jim Satterfield" <jsatterfield@nospam.kc.rr.com> wrote in message
> > news:obJ3e.1703$PA4.946@tornado.rdc-kc.rr.com...
> >> Here is the error message I get:
> >>
> >> Microsoft VBScript runtime error '800a000d'
> >>
> >> Type mismatch
> >>
> >> /nominee.asp, line 28
> >>
> >> The next to the last line of this code is line 28 according to
UltraEdit.
> >>
> >> 'Fill Guest of Honor string if form has nominees
> >> if len(trim(Request.Form("goh1"))) > 0 then
> >> strGOH = "GOH," + trim(Request.Form("goh1"))
> >> end if
> >> if len(trim(Request.Form("goh2"))) > 0 then
> >> strGOH + "," + trim(Request.Form("goh2"))
> >> end if
> >>
> >> I'm trying to figure this one out quickly so I can get this form up and
> >> running. Anyone have an idea?
> >>
> >> Thanks, Jim
> >>
> >
> >
>
>