Print Page | Close Window

More form problems for a novice

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7310
Printed Date: 30 March 2026 at 12:27pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: More form problems for a novice
Posted By: eden24
Subject: More form problems for a novice
Date Posted: 16 November 2003 at 8:04am

Hi.

I am trying to declare the variables for all of the headings within my form, however I am getting the following error:

Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/example/Bookings_process.asp, line 15, column 124
Dim Firstname, Secondname, Organisation, Position, Address_1, Address_2, Address_3, Postcode, Telephone, Fax, Mobile, Web, E-Mail, Request, Service, Therapies, Events, Training, Comments, theDate,sql

I have successfully tried the tutorial using just 3 fields but obviously I need to have all of the fields available form my form to work, can you advise what I should have addeed>

Regards,

 




Replies:
Posted By: Tegwin
Date Posted: 16 November 2003 at 3:55pm

Try on here they have some of the best stuff

 

http://www.w3schools.com/asp/asp_examples.asp - http://www.w3schools.com/asp/asp_examples.asp



-------------
If you dont want my peaches, dont shake my tree


Posted By: MorningZ
Date Posted: 18 November 2003 at 5:51am

you can't use "E-Mail" as a variable name....  keep it to letters, numbers, and the underscore character

that's why that error gets thrown



-------------
Contribute to the working anarchy we fondly call the Internet



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net