Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / September 2005



Tip: Looking for answers? Try searching our database.

Multistep errors

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan Hood - 28 Sep 2005 16:03 GMT
VB6, SP6 - using an ODBC driver for dbase tables, clientside cursor

I have an application that gives a ' 2147217887 - Multistep operation
generated errors' error. This does not seem to have any hard cause and the
offending operation can be repeated without problems. The problem seems to
be getting worse and is now occuring about once a day. It can appear in
various places but seems to be always when an update is occuring.

I have identified one area where it has occured and the code is given below.

Public Sub NextPlRunNos(InPLRunNos)
 With plSysRs
   .Requery
   .MoveFirst
   InPLRunNos = !Pl_lstrun
   If Not IsNull(InPLRunNos) Then InPLRunNos = Val(!Pl_lstrun) + 1
   If IsNull(InPLRunNos) Then InPLRunNos = 1
   !Pl_lstrun = InPLRunNos
   .Update
   .Move (0)
 End With
End Sub

I cannot seem to find any reference to this error . It seems obvious that I
am doing something incorrectly. Can anybody point me in the right direction
to tackle this.

Many Thanks

Alan Hood
boaz - 28 Sep 2005 22:21 GMT
What is the SQL?

Some databases don't support OUTER JOIN, LEFT JOIN, RIGHT JOIN etc.

If you join the tables and then try to update the field, it may give you
this error.

> VB6, SP6 - using an ODBC driver for dbase tables, clientside cursor
>
[quoted text clipped - 29 lines]
>
> Alan Hood
Darrell Wesley - 29 Sep 2005 17:10 GMT
Alan,

Whenever I've received a "Multistep" error it was because I was trying to
add more characters then the field would allow.

> VB6, SP6 - using an ODBC driver for dbase tables, clientside cursor
>
[quoted text clipped - 26 lines]
>
> Alan Hood
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.