Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 July 7th, 2003, 09:46 AM
Authorized User
 
Join Date: Jun 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default Update Query failing

Hi All,

Can anyone see what is wrong with this Query for an Access 2000 database? It's probably staring me in the face but I just can't see it.

UPDATE NSProposals SET Status='D', NSReason='NA', CoverNote='NA' WHERE ProposalNumber='NS03/000001'

This is the error message I get:

Microsoft OLE DB Provider for ODBC Drivers error '80040e10'

[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.

I have checked that all the datanames are correct (I even cut & pasted them from the table definition), all the fields are text type,
and the cursor type is dynamic.

I'm totally stumped.

Thanks
Pat

-------------------
System 3 2000 Limited
www.system3-2000.co.uk
__________________
-------------------
System 3 2000 Limited
www.system3-2000.co.uk (but very out-of-date!)
 
Old July 7th, 2003, 10:10 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to NotNowJohn
Default

Generaly it seems that u assigned (or set) unexpected data type to some variable.
Can u provide more code details?

...but the Soon is eclipsed by the Moon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Query Help dalezjc Classic ASP Basics 8 March 18th, 2008 08:49 AM
I solved insert query.now see this Update Query. [email protected] VB.NET 2002/2003 Basics 2 September 21st, 2006 12:48 AM
Update query trab Access 1 May 11th, 2006 03:58 PM
update query leo_vinay SQL Server 2000 1 February 28th, 2006 09:55 AM
Update query how to? vickriz Access 1 August 26th, 2003 09:44 AM





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