473,322 Members | 1,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

html form asp type mismatch

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
Jul 22 '05 #1
3 1729
In VB Script, you should use & to concatenate strings, not +.

Ray at home

"Jim Satterfield" <js**********@nospam.kc.rr.com> wrote in message
news:ob****************@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

Jul 22 '05 #2
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:u7**************@tk2msftngp13.phx.gbl...
In VB Script, you should use & to concatenate strings, not +.

Ray at home

"Jim Satterfield" <js**********@nospam.kc.rr.com> wrote in message
news:ob****************@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


Jul 22 '05 #3
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" <js**********@nospam.kc.rr.com> wrote in message
news:at****************@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:u7**************@tk2msftngp13.phx.gbl...
In VB Script, you should use & to concatenate strings, not +.

Ray at home

"Jim Satterfield" <js**********@nospam.kc.rr.com> wrote in message
news:ob****************@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



Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Jim | last post by:
Hi, I keep getting form results emailed to me that would indicate a form from my web site is getting submitted with all fields blank or empty, but my code should preventing users from proceeding...
8
by: James Baker | last post by:
I'm trying to use Request.Form to gather information in an array and I keep getting a type mismatch...not sure if it's even possible. Basically, Page 1 posts to Page 2...and Page 1 contains a...
5
by: Niyazi | last post by:
Hi, I have an html page and I might be moving to asp.net page that contains a some kind of forum and string. It is kind of application form. User have to enter some (string) value into the...
17
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control...
19
by: thisis | last post by:
Hi All, i have this.asp page: <script type="text/vbscript"> Function myFunc(val1ok, val2ok) ' do something ok myFunc = " return something ok" End Function </script>
1
by: koval | last post by:
Type mismatch error occured when calling HTML array elements through Request.form("txtlrno" & i) after self posting the form, please anyone help me immediately because is in crisis.
15
by: sara | last post by:
I have a Memo field in a table to hold notes from a conversation a social worker has had with a client (this is for a non-profit). If the user needs to update the memo field, I need to find the...
4
by: rlntemp-gng | last post by:
I have one module where I would like to launch 2 different forms (that do exist), based on a form object and string that is passed into it. (prmTable is a string, not a table object simply because...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.