From: George A.J <jinujosein@yahoo.com>
To: pgsql-interfaces@postgresql.org
Subject: cannot insert zero in to numeric field
Date: Wed, 4 Jun 2003 20:20:54 -0700 (PDT)
Message-ID: <20030605032054.97735.qmail@web14914.mail.yahoo.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jinujosein@yahoo.com
Subject: Re: cannot insert zero in to numeric field
In-Reply-To: <20030605032054.97735.qmail@web14914.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox