Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 941
  • Last Modified:

VB 6 RUN-TIME ERROR -2147217864

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
nitin_s_shah
Asked:
nitin_s_shah
  • 2
1 Solution
 
gpizzutoCommented:
remove the default value from the database column
0
 
Daniel WilsonCommented:
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
 
nitin_s_shahAuthor Commented:
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
 
nitin_s_shahAuthor Commented:
simple solution
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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now