473,698 Members | 2,571 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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(Reques t.Form("goh1")) ) > 0 then
strGOH = "GOH," + trim(Request.Fo rm("goh1"))
end if
if len(trim(Reques t.Form("goh2")) ) > 0 then
strGOH + "," + trim(Request.Fo rm("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 1739
In VB Script, you should use & to concatenate strings, not +.

Ray at home

"Jim Satterfield" <js**********@n ospam.kc.rr.com > wrote in message
news:ob******** ********@tornad o.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(Reques t.Form("goh1")) ) > 0 then
strGOH = "GOH," + trim(Request.Fo rm("goh1"))
end if
if len(trim(Reques t.Form("goh2")) ) > 0 then
strGOH + "," + trim(Request.Fo rm("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.Wr iteLine(strGOH)

strGOH holds a text string.
Jim
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u7******** ******@tk2msftn gp13.phx.gbl...
In VB Script, you should use & to concatenate strings, not +.

Ray at home

"Jim Satterfield" <js**********@n ospam.kc.rr.com > wrote in message
news:ob******** ********@tornad o.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(Reques t.Form("goh1")) ) > 0 then
strGOH = "GOH," + trim(Request.Fo rm("goh1"))
end if
if len(trim(Reques t.Form("goh2")) ) > 0 then
strGOH + "," + trim(Request.Fo rm("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**********@n ospam.kc.rr.com > wrote in message
news:at******** ********@tornad o.rdc-kc.rr.com...
Thanks, Ray.

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

objGohFileTS.Wr iteLine(strGOH)

strGOH holds a text string.
Jim
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u7******** ******@tk2msftn gp13.phx.gbl...
In VB Script, you should use & to concatenate strings, not +.

Ray at home

"Jim Satterfield" <js**********@n ospam.kc.rr.com > wrote in message
news:ob******** ********@tornad o.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(Reques t.Form("goh1")) ) > 0 then
strGOH = "GOH," + trim(Request.Fo rm("goh1"))
end if
if len(trim(Reques t.Form("goh2")) ) > 0 then
strGOH + "," + trim(Request.Fo rm("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
8751
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 if they left any field blank. My guess is that someone is trying to hack the site using the form to gain entry or run commands -- I don't really know since I'm not a hacker. I just know that forms are often susceptible to these kinds of...
8
2535
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 variable declared as: Dim mLic(50) ....which is then populated. When I try: Request.Form("mLic()") or Request.Form("mLic") or
5
5376
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 forum which forum actualy similar to small article. Then user have to use PRINT button to print the page. My problem is that when I try to print it prints the HTML Name on top left as well as the page
17
2479
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 'Button19' of type 'Button' must be placed inside a form tag with runat=server Can the IDE not do what it is supposed to do. It seems that it is a fight to make it do anything or did I do something wrong? It would seem silly to have to create a...
19
3823
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
1692
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
7363
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 original record (which I am doing fine - getting the correct key) and I need to update the "notes" with the new value from the form, which I store in a String Variable. (I've tried storing in a Variant variable; didn't work for me)
4
5214
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 prmTable is only used in the form's caption) (I know I could put this code behind a form object, but my goal is to modularize this code somewhat and get this technique down so that I can import this code to other applications in the future where...
10
6971
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 of section c. Not sure where went wrong as the web page displayed internal server error. Also, what is the error 543? and error 2114. Where to find the list of errors in websites as it is not the standard apache error. I could not find...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.