Solved

VB no Char

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

734 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