cannot insert zero in to numeric field

From: "George A(dot)J" <jinujosein(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: cannot insert zero in to numeric field
Date: 2003-06-05 03:20:54
Message-ID: 20030605032054.97735.qmail@web14914.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-odbc


i am usig postgres with VB (ADO using ODBC). when i
try to update a numeric field in a table with zero an
error occurs "ERROR: Bad numeric input format '.' " .
this happends when i call recordset.update() after
assigning 0 to the field. a sample is given bellow

rs!Opening=0
rs.Update

this code works fine if we assign any value other than
zero to the field.is there a solution. or is it a bug?

if i use the update query there is no problem.

pls help

thanks...

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Philip Yarra 2003-06-05 07:33:51 anon CVS changes?
Previous Message Tom Lane 2003-06-02 17:19:36 Some quick notes about extending libpq for new protocol

Browse pgsql-odbc by date

  From Date Subject
Next Message Hollysugar Webmaster 2003-06-05 14:58:07 Re: pgsql-odbc bug querying VIEWs
Previous Message Mahlon Stacy 2003-06-04 14:03:20 pgsql-odbc bug querying VIEWs