Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Form submission to database
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Form submission to database

 Post Reply Post Reply
Author
eden24 View Drop Down
Newbie
Newbie


Joined: 13 November 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote eden24 Quote  Post ReplyReply Direct Link To This Post Topic: Form submission to database
    Posted: 17 November 2003 at 6:01am

Hi.

I have created a database, a page to view the results and a form page.  However I cannot submit the form details to my database, I have been getting the following error;

"Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Bookingspage_form'
/example/Bookings_process.asp, line 18"

I actually created the form before the database but everything else works apart from this vital stage, can anyone help?

Regards,

Back to Top
stevem2003 View Drop Down
Newbie
Newbie
Avatar

Joined: 07 November 2003
Location: United Kingdom
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevem2003 Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2003 at 9:53am
What's on line 18?
Back to Top
eden24 View Drop Down
Newbie
Newbie


Joined: 13 November 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote eden24 Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2003 at 2:07pm

Line 18 is:

Firstname=request.Bookingspage("Firstname")

After which I have the various other field names, Secondname etc.

Thanks for responding.

Regards,

E.

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2003 at 2:19pm
request.Bookingspage("Firstname") What language are you using??? I think you mean request.querystring(key) or request.form(key)
Back to Top
eden24 View Drop Down
Newbie
Newbie


Joined: 13 November 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote eden24 Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2003 at 3:16pm

I am using ASP.  I thought I had to use the actual form file name of "Bookingspage"?

Back to Top
stevem2003 View Drop Down
Newbie
Newbie
Avatar

Joined: 07 November 2003
Location: United Kingdom
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevem2003 Quote  Post ReplyReply Direct Link To This Post Posted: 18 November 2003 at 10:15am

Sorry, I'm I little confused Confused, what are you trying to do?
Are you saying you have an input form to save items to a database, and then a page to view the database entries?

 

Back to Top
eden24 View Drop Down
Newbie
Newbie


Joined: 13 November 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote eden24 Quote  Post ReplyReply Direct Link To This Post Posted: 18 November 2003 at 3:12pm

Hi.

Just to clarify, I am trying to create a form page which will save details to the database, so far  I have completed a form and a display page listing all items within the database.

However I am having a problem with my "process" page, as a result when I submit the form I am getting an error.  The error at the moment is:

"Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
/example/Bookings_process.asp, line 74"

Although the script on line 74 is: Connection.execute(sql) the script relating to the "INSERT" statement is earlier on the page and basically relates to all the input fields in the form. 

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.