Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > adodc insert error


Reply
 
Thread Tools Display Modes
  #1  
Old 02-14-2002, 10:53 PM
gjp
Guest
 
Posts: n/a
Default adodc insert error


I have used an adodc to enter data to m data base .
But the following error pos up on saying "save":


Multiple step operation generated errors.Check each status value.

The command I have used in the "save" is
Adodc1.Recordset.Update

Please tell me what is the problem .
Reply With Quote
  #2  
Old 02-14-2002, 11:09 PM
usetheforce2's Avatar
usetheforce2 usetheforce2 is offline
Senior Contributor

Retired Moderator
* Expert *
 
Join Date: Jul 2000
Location: Toronto, Ontario, Canada
Posts: 1,410
Default

hey,

just a stab in the dark without seeing you code:

Adodc1.Recordset.AddNew <-- are you using the addnew method before you update?

Regan
Reply With Quote
  #3  
Old 02-15-2002, 12:22 AM
gjp
Guest
 
Posts: n/a
Default thanks,got it .

Well, thanks for the help.
I have already added the adodc.recordset.addnew.That was not the problem.

The problem was that I was entering data in the wrong format which it did not accept and gave the error (date field).

I guess I should first try out to figure out the mistake myself for n*n times ere posting it here.(I tried only n times earlier).A lesson for me.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->