Solved

VB5 database error

Posted on 1998-08-22
3
178 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

708 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now