ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 16th, 2000, 03:55 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Inserting Porblem

<i><b>Originally posted by : Shawn</b></i><br />hi..... <br />I have a problem. I have a table consisting 4 columns. <br />The first column is for auto assignation of product number. And in my web page....there are only 3 text boxes for inserting value into the rest of the 3 column. <br /><br />I get the following error. Is there anway to solve this problem. <br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80040e14' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Number of query values and destination fields are not the same. <br /><br /><br />Thanx<br />

Reply With Quote
  #2  
Old February 16th, 2000, 08:41 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : RHarper (rish@gte.net)</b></i><br />I am not certain how you are doing this but this is how I do it.<br /><br />The error is stating that the number of items to be inserted does not match the number of fields to insert them into.<br /><br />Solution: <br /><br />Instead of using the <br /><br />INSERT INTO table VALUES 'Value1',Value2,'Value3')<br /><br />Define the Fields you are using like this:<br /><br />INSERT INTO Table (Field1, Field2, Field3) VALUES ('Value1', Value2, 'Value3')<br /><br />Each Values in the second set of parenthesis will exactly match the fields in the first set of parenthesis.<br /><br />If you have questions, feel free to email me at rish@gte.net.<br /><br />I hope this helped,<br />Rick<br /><br /><br /><br /><br />------------<br />Shawn at 2/16/2000 1:55:53 AM<br /><br />hi..... <br />I have a problem. I have a table consisting 4 columns. <br />The first column is for auto assignation of product number. And in my web page....there are only 3 text boxes for inserting value into the rest of the 3 column. <br /><br />I get the following error. Is there anway to solve this problem. <br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80040e14' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Number of query values and destination fields are not the same. <br /><br /><br />Thanx<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Inserting Porblem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT