Solved

VB 6 RUN-TIME ERROR -2147217864

Posted on 2012-03-22
4
909 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
[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
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…
Suggested Courses
Course of the Month5 days, 17 hours left to enroll

627 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