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 70781537B3 for ; Mon, 4 Apr 2005 11:25:48 +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 54696-06 for ; Mon, 4 Apr 2005 10:25:43 +0000 (GMT) Received: from mail.cibal.es (97.Red-80-59-70.pooles.rima-tde.net [80.59.70.97]) by svr1.postgresql.org (Postfix) with ESMTP id C59A453713 for ; Mon, 4 Apr 2005 11:25:41 +0100 (BST) Received: from miguel2000 ([192.168.200.7]) (authenticated user mjuan@cibal.es) by cibal.es (mail.cibal.es [192.168.200.2]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 4-md50000000176.tmp for ; Mon, 04 Apr 2005 12:22:57 +0200 Message-ID: <002301c53901$401892f0$07c8a8c0@miguel2000> From: "Miguel Juan" To: References: <71E37EF6B7DCC1499CEA0316A256832801D4C03B@loki.wc.globexplorer.net> Subject: Re: [SQL] delphi access question? Date: Mon, 4 Apr 2005 12:29:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Authenticated-Sender: mjuan@cibal.es X-Spam-Processed: mail.cibal.es, Mon, 04 Apr 2005 12:22:57 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.200.7 X-Return-Path: mjuan@cibal.es X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/19 X-Sequence-Number: 5178 Hi, I don't know if this may help but after comparing the mylog.log files I have noticed that it looks like the copy_and_convert function recives a fctype=-9999 in version 8, while it recives a fctype=1 in version 7.3. It doesn't matter the encoding of the database, becouse I have tried it with SQL_ASCII, LATIN1 and UNICODE with the same results. This also afect to MS-Access, all the text field values appear like "deleted" ("Eliminado" in spanish). Regards, Miguel Juan ----- Original Message ----- From: Gregory S. Williamson To: Joel Fradkin ; pgsql-sql@postgresql.org Cc: pgsql-odbc@postgresql.org Sent: Wednesday, March 30, 2005 11:19 PM Subject: Re: [ODBC] [SQL] delphi access question? 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? Joel Fradkin ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org !DSPAM:424b0a12126562811677690! ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)