• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 858
  • Last Modified:

vb6 run time error 3426

I'm making a program and it was working fine untill I added a database and every time I try to run the program I get a run time 3426 message. Can some one help me with this.
Thanks
0
garybear
Asked:
garybear
  • 2
1 Solution
 
garybearAuthor Commented:
Adjusted points from 50 to 75
0
 
PatrickVDCommented:
Hi Gary,

There is actually a knowledge base article on MS website that might solve your problem depending on the context where you got this runtime error..
Have a look at it. It contains even the source code to solve this problem.

http://support.microsoft.com/support/kb/articles/Q189/8/51.ASP?LNG=ENG&SA=ALLKB&FR=0

Hope this will solve your problem !

Patrick.
0
 
jstittCommented:
Runtime error '3426' means that the 'action was cancelled by an associated object'.  I suspect in your case that the sequence of database commands may not be correct.  Possible solutions are to add 'exception processing' to your code (e.g. Try/Except) or comment out the code near the database activity until the runtime error is 'isolated'. Then correct the sequence of events.

For example:
You might have methods such as 'Edit' and 'Update' out of sequence.
0
 
garybearAuthor Commented:
Thanks alot you were right and I appreciate your help.

Thanks again
Gary
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now