Solved

VB no Char

Posted on 1998-08-18
2
228 Views
Last Modified: 2010-04-30
I am using a True DB Grid to display the resultset. The grid is bound to a RDC. One of the columns which is numeric(5,2) if it were to have its contents cleared, at the time of saving gives the error message 'VB no Char.' I am connected to Oracle. Please let me know how to get around this.
0
Comment
Question by:Vinod1959
[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 Comments
 
LVL 1

Accepted Solution

by:
blwatkins earned 20 total points
ID: 1429636
The problem is that the field you are connected to will not allow you to enter a null value such as "" or no value in that collumn.  There are several ways around this, you can change the field, which may be a problem if you are attached to Oracle and cannot change that field's structure.  Second you could build a validate routine to ensure that the field will not be blank before you try to save it, by making it a zero "0".
0
 

Author Comment

by:Vinod1959
ID: 1429637
Thank you. That's what I had been thinking too.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

740 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