From steve@eryr.com Mon Jan 21 11:52:30 2008 Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 2A2802E336D for ; Mon, 21 Jan 2008 07:52:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 78241-09 for ; Mon, 21 Jan 2008 07:52:15 -0400 (AST) Received: from ds4095.dedicated.turbodns.co.uk (server4095.123-serv.co.uk [212.241.179.58]) by postgresql.org (Postfix) with SMTP id DF4FE2E320F for ; Mon, 21 Jan 2008 07:52:18 -0400 (AST) Received: (qmail 12984 invoked from network); 21 Jan 2008 11:52:16 -0000 Received: from aber.tvpn.co.uk (HELO spread) (eryr-steve@195.99.136.198) by 0 with SMTP; 21 Jan 2008 11:52:16 -0000 From: "Steve Coleman-Williams" To: Subject: Acess throughing ODBC Errors Date: Mon, 21 Jan 2008 11:52:07 -0000 Message-ID: <003001c85c24$0cc90da0$265b28e0$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0031_01C85C24.0CC90DA0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AchcJAwrIPl5c72ERVmV1oWH7kVM/g== Content-Language: en-gb X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.242 tagged_above=0 required=5 tests=AWL=2.240, BAYES_50=0.001, HTML_MESSAGE=0.001 X-Spam-Level: ** X-Archive-Number: 200801/29 X-Sequence-Number: 9336 This is a multipart message in MIME format. ------=_NextPart_000_0031_01C85C24.0CC90DA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I have a table (Types) that I should be able to add data too. I can on the INT fields but when it comes to attempting to add it to VARCHAR it throughs ODBC errors. This is strange as it works on one machine but not another, and on other tables with VARCHAR datatypes it works ok but not on this one. Does anyone know why this happens and if so, a way around it?? ------=_NextPart_000_0031_01C85C24.0CC90DA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have a table (Types) that I should be able to add = data too.

 

I can on the INT fields but when it comes to = attempting to add it to VARCHAR it throughs ODBC errors.

 

This is strange as it works on one machine but not = another, and on other tables with VARCHAR datatypes it works ok but not on this = one. Does anyone know why this happens and if so, a way around it??

------=_NextPart_000_0031_01C85C24.0CC90DA0-- From andyk@commandprompt.com Mon Jan 21 13:10:49 2008 Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B34252E2DE0 for ; Mon, 21 Jan 2008 09:10:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 29870-04 for ; Mon, 21 Jan 2008 09:10:36 -0400 (AST) Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 7F4282E0191 for ; Mon, 21 Jan 2008 09:10:41 -0400 (AST) Received: from [77.109.24.133] (77-109-24-133.dynamic.peoplenet.ua [77.109.24.133]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m0LDAXqn029292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jan 2008 05:10:45 -0800 Message-ID: <479499B8.6000907@commandprompt.com> Date: Mon, 21 Jan 2008 15:10:16 +0200 From: Andrei Kovalevski User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Steve Coleman-Williams CC: Postgresql ODBC List Subject: Re: Acess throughing ODBC Errors References: <003001c85c24$0cc90da0$265b28e0$@com> In-Reply-To: <003001c85c24$0cc90da0$265b28e0$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 21 Jan 2008 05:10:48 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/30 X-Sequence-Number: 9337 Hello, Steve Coleman-Williams wrote: > > I have a table (Types) that I should be able to add data too. > > > > I can on the INT fields but when it comes to attempting to add it to > VARCHAR it throughs ODBC errors. > > > Please show us this error message DSN settings (or connection string) and ODBC driver version. > This is strange as it works on one machine but not another, and on > other tables with VARCHAR datatypes it works ok but not on this one. > Does anyone know why this happens and if so, a way around it?? > Do you use the same ODBC driver on both machines? Are you trying ot access the same remote Database? -- Andrei Kovalevski PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/