Crit
asked on
Record update problem
I am connecting to an oracle database thru VB. One of the fields I am working with is a date field. If the date field already has a date in it, and I delete the date, and then update the record, I get an error, rather than the date being 'erased'. Any suggestions as to why this is happening would be appreciated.~~~~Crit
ASKER
caraf_g,
I just checked the database, and that is not the case. I can, through, SQL Plus update the date to an empty string, just not through VB
I just checked the database, and that is not the case. I can, through, SQL Plus update the date to an empty string, just not through VB
Can you show me the line of code that's causing the problem?
Have you tried to send a 00/00/00 value to the field being deleted?
What is the exact error message you are getting? Perhaps you are trying to fill the field with invalid data such as slashes from an input mask, but no date?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanx for your help...........I'll let my boss sweat the rest!
Crit
Crit
Maybe the date field was defined as "NOT NULL" in your database?
In that case it cannot be empty.