Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 21st, 2005, 06:34 PM
Authorized User
 
Join Date: Mar 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 13 - Storing Inf in a Database

Hi Imar,

I'm on chap 13 in the Dreamweaver MX 2004 book. I created a form to input data into the database, but whatever i type in the form i always get the below error. Eventhough I've tried to double check the data type on both the form and the database access table (Event table). Could you please advice ?

Thanks.

Microsoft JET Database Engine error '80040e07'

Data type mismatch in criteria expression.

/soccer/createEvent.asp, line 135
 
Old April 22nd, 2005, 01:00 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Can you post the relevant parts of your code?

You didn't specify where in chapter 13 you were, so I am guessing here, but try something like this:

MM_editCmd.CommandText = MM_editQuery
Response.Write("Query is " & MM_editQuery)

' I have commented the next lines so the sql statement isn't executed
'MM_editCmd.Execute

MM_editCmd.ActiveConnection.Close

What does it say? How does your Sql statement look like?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Database error in Chapter 13, C# version Judy BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 July 25th, 2007 09:30 AM
Chapter 13 bwoll BOOK: Beginning Access 2003 VBA 1 June 7th, 2007 03:57 PM
Chapter 4: "Could not find schema inf ... " coollights BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 6 December 28th, 2006 09:26 AM
Chapter 13 ElMorenito BOOK: Beginning ASP 3.0 0 January 14th, 2005 02:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.