A form query from a novice

Results 1 to 2 of 2

Thread: A form query from a novice

  1. #1
    Join Date
    Dec 1969

    Default A form query from a novice

    Hi.<BR><BR>I am trying to declare the variables for all of the headings within my form, however I am getting the following error:<BR><BR>Error Type:<BR>Microsoft VBScript compilation (0x800A0401)<BR>Expected end of statement<BR>/example/Bookings_process.asp, line 15, column 124<BR>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<BR><BR>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 added?<BR><BR>Regards.

  2. #2
    Join Date
    Dec 1969

    Default Invalid variable name

    E-Mail<BR><BR>You can&#039;t have dashes in your variable names. Try changing that var to:<BR><BR>E_Mail

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts