Solved

VB no Char

Posted on 1998-08-18
2
231 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…
Suggested Courses
Course of the Month7 days, 8 hours left to enroll

632 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