Solved

VB5 database error

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB 6.0 printer how to align 6 62
Visual Basic Excel Formatting error 4 100
Microsoft Access combo box help 2 44
Create Files based on Cell Values in a Range in Excel 12 37
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

815 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

11 Experts available now in Live!

Get 1:1 Help Now