Solved

VB 6 RUN-TIME ERROR -2147217864

Posted on 2012-03-22
4
853 Views
Last Modified: 2012-03-28
i have form having data combo and text and numeric fields, when i trying to save data it gives me error no. -2147217864. i have check all control and values are correct. what could be the problem.
0
Comment
Question by:nitin_s_shah
  • 2
4 Comments
 
LVL 8

Expert Comment

by:gpizzuto
Comment Utility
remove the default value from the database column
0
 
LVL 32

Expert Comment

by:Daniel Wilson
Comment Utility
if gpizzuto's suggestion doesn't work, you really need to capture the error description.

The error number you've posted indicates a DB error - not really a VB6 runtime error.  Most DB's will give fairly specific error messages regarding which field they're complaining about.
0
 

Accepted Solution

by:
nitin_s_shah earned 0 total points
Comment Utility
I have remove all data combo and reinserted in form. then it move correct values to data-bound.text. Before updating database record i also move data column to data combo data-bound.text. now it is working fine. thanks lot.
nitin shah
0
 

Author Closing Comment

by:nitin_s_shah
Comment Utility
simple solution
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…

762 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

6 Experts available now in Live!

Get 1:1 Help Now