Re: [INTERFACES] cannot insert zero in to numeric field

From: Jeff Eckermann <jeff_eckermann(at)yahoo(dot)com>
To: "George A(dot)J" <jinujosein(at)yahoo(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [INTERFACES] cannot insert zero in to numeric field
Date: 2003-06-06 23:47:19
Message-ID: 20030606234719.55599.qmail@web20808.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-odbc

I am sending your message to the pgsql-odbc list,
because you are more likely to get help there.
Sorry, I don't have an answer for you...

--- "George A.J" <jinujosein(at)yahoo(dot)com> wrote:
>
> 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
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
majordomo(at)postgresql(dot)org

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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Hiroshi Inoue 2003-06-09 08:40:33 Re: [INTERFACES] cannot insert zero in to numeric field
Previous Message Bruce Momjian 2003-06-06 19:02:07 Re: DBD::Pg 1.30_1 WAS (Re: Prepare and prepare ?)

Browse pgsql-odbc by date

  From Date Subject
Next Message Frankie Lam 2003-06-07 04:23:15 Connect Timeout Does Not Work
Previous Message Hollysugar Webmaster 2003-06-05 14:58:07 Re: pgsql-odbc bug querying VIEWs