Solved

VB5 database error

Posted on 1998-08-22
3
183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
Access query that references subform 5 50
message box in access 4 55
Passing a Text Box name to a Sub 6 104
Problem to line 23 80
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

734 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