Solved

VB5 database error

Posted on 1998-08-22
3
182 Views
Last Modified: 2010-04-30
In VB5 Whilst adding records to a database using addnew for a recordset , I encounter the error
"Runtime error 3426
The action was cancelled by an associated object "
I have a dbcombo in the form which uses records from another table to populate the list. I also have other similar dbcombos in other forms updati
0
Comment
Question by:skane
3 Comments
 
LVL 4

Expert Comment

by:mcix
ID: 1430425
What is your question?
0
 
LVL 3

Accepted Solution

by:
a111a111a111 earned 100 total points
ID: 1430426
Make sure all the controls datafield properties match your fields in the table your accessing. If you change the field name, you will get this error.


0
 

Expert Comment

by:brucerock
ID: 1430427
Having just been down that track I have found that a common caused is having a bound contol's data source field have been set to a database field and having this field also being updated programmatically. If you have to update the database change the value in the bound control.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question