Solved

VB 6 RUN-TIME ERROR -2147217864

Posted on 2012-03-22
4
885 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
ID: 37752776
remove the default value from the database column
0
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 37753777
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
ID: 37756794
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
ID: 37775647
simple solution
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

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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

680 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