473,847 Members | 1,512 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 1745
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
8764
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
2540
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
5383
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
2513
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
3831
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
1698
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
7393
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
5221
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
6988
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
9892
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
9734
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10654
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10718
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9493
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7888
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
7061
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
5915
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4130
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.