Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB 6 RUN-TIME ERROR -2147217864

Posted on 2012-03-22
4
Medium Priority
?
927 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Suggested Courses

670 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