X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 394635385B for ; Sun, 3 Apr 2005 10:20:22 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05244-06 for ; Sun, 3 Apr 2005 09:20:12 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by svr1.postgresql.org (Postfix) with ESMTP id D75A853540 for ; Sun, 3 Apr 2005 10:20:10 +0100 (BST) Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DI1H9-0003JK-00 for pgsql-odbc@postgresql.org; Sun, 03 Apr 2005 11:20:11 +0200 Received: from [80.129.136.1] (helo=pse.dyndns.org) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1DI1H9-0003ul-00 for pgsql-odbc@postgresql.org; Sun, 03 Apr 2005 11:20:11 +0200 Received: from pse1 ([192.168.0.3]) by pse.dyndns.org with esmtp (Exim 4.44) id 1DI1H7-0000l6-6O; Sun, 03 Apr 2005 11:20:09 +0200 Message-ID: <424FB548.1040804@pse-consulting.de> Date: Sun, 03 Apr 2005 09:20:08 +0000 From: Andreas Pflug User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Gregory S. Williamson" Cc: Joel Fradkin , pgsql-odbc@postgresql.org Subject: Re: [SQL] delphi access question? References: <71E37EF6B7DCC1499CEA0316A256832801D4C03B@loki.wc.globexplorer.net> In-Reply-To: <71E37EF6B7DCC1499CEA0316A256832801D4C03B@loki.wc.globexplorer.net> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:0ce7ee5c3478b8d72edd8e05ccd40b70 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/11 X-Sequence-Number: 5170 Gregory S. Williamson wrote: > Something is not translating CHAR values correctly -- all the fields that you "see" are not char values. > > Have no idea off hand *why* this would be ... character encoding differences maybe ? > > Greg Williamson > DBA > GlobeXplorer LLC > > -----Original Message----- > From: Joel Fradkin [mailto:jfradkin@wazagua.com] > Sent: Wed 3/30/2005 12:15 PM > To: pgsql-sql@postgresql.org > Cc: pgsql-odbc@postgresql.org > Subject: [SQL] delphi access question? > One of my applications is in Delphi 5. > I just went to change it over to Postgres (from MSSQL). > I am using odbc and something a bit odd is happening. > I can run a sql statement ok, even in sql builder I see all the fields. > But the returned result set appears to be missing some of the fields. > So my table is > CREATE TABLE tbltranslations > ( > transnumber int4 NOT NULL, > clientnum char(4) NOT NULL, > lastran timestamp, > lastupdated timestamp, > firstrowhasheading char(1), > fixed_delimited char(1), > tblname varchar(50), > delimeter char(1), > textqualifier char(1), > active bool, > direction char(1), > client_filename varchar(250), > ftp_account int4, > fixedlenghthascomma char(1), > ftp_path varchar(250), > ftp_filename varchar(50), > fieldname_forid_on_insert varchar(50) > ) > but only fields > transnumber > lastran > lastupdated > active > and ftp_account > show up as fields I can add to the result. > Any ideas? Are you using BDE with psqlodbc 8.0? I've seen problems with that, and found only 7.0.0200 mostly working; any later version will show the missing column problem. Regards, Andreas