X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id EE5149FA61D for ; Fri, 9 Jun 2006 12:37:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 50825-08 for ; Fri, 9 Jun 2006 12:37:30 -0300 (ADT) X-Greylist: whitelisted by SQLgrey- Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by postgresql.org (Postfix) with ESMTP id 76D8C9FA098 for ; Fri, 9 Jun 2006 12:37:30 -0300 (ADT) Received: from imptest-g20.free.fr (imptest-g19.free.fr [212.27.42.37]) by smtp6-g19.free.fr (Postfix) with ESMTP id 21DC022598; Fri, 9 Jun 2006 17:37:27 +0200 (CEST) Received: by imptest-g20.free.fr (Postfix, from userid 33) id E72CE6E20; Fri, 9 Jun 2006 17:37:26 +0200 (CEST) Received: from ( [unknown]) by imp4.free.fr (Horde) with HTTP for ; Fri, 09 Jun 2006 17:37:26 +0200 Message-ID: <20060609173726.2vontihus4kckgc4@imp4.free.fr> Date: Fri, 09 Jun 2006 17:37:26 +0200 From: JGuillaume 'IoGuiX' de Rorthais To: Ludek Finstrle Cc: pgsql-odbc@postgresql.org Subject: Re: Access97/odbcUnicode/pgsql : unable to map text field References: <20060608114513.f2desajuw4gc8kcc@imp4.free.fr> <20060608100630.GA1138@soptik.pzkagis.cz> <20060608130712.fp22g3xe8cow4s04@imp4.free.fr> <20060609112519.GE8153@soptik.pzkagis.cz> <20060609145317.1xc09lynswwcoowo@imp4.free.fr> <20060609135030.GA18181@soptik.pzkagis.cz> In-Reply-To: <20060609135030.GA18181@soptik.pzkagis.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/55 X-Sequence-Number: 7803 ...and it doesn't help...I tried with 20475 and -4 in the "Max Longvarchar" field. Text field (txt in my table) is still mapped to the Jet text type insteed of Memo. But mystery is going deeper... I use Jet 4.0 on my winXP SP2. I followed the instructions describes in the last paragraph here : http://support.microsoft.com/?scid=kb%3Ben-us%3B237994&x=19&y=12 ...And we can read at this link : http://support.microsoft.com/?scid=kb%3Ben-us%3B214854&x=16&y=11 that : ODBC SQL Type:SQL_WLONGVARCHAR Precision:N/A Scale:N/A Jet 3.5 Type:Unsupported Jet 40 Type:Memo ...I still trying to find some more info about that. Many thanks for your support. Regards, -- IoGuiX Quoting Ludek Finstrle : >> Mh, looks impossible to join just a .exe without a part of Office pack :/ > > It's a pity. > >> I just have my logs for you... >> >> Anyway, indeed, mapping PgSQL Text type to Access Memo work fine with >> the ANSI's >> ODBC versions. But using the ANSI version require to much macro & VBA stuff >> to >> workaround the #Deleted behaviour (that is an Access specific problem). > > The only difference I see is in type of 'txt' column. > ANSI: SQL_LONGVARCHAR (-1) > Unicode: SQL_WLONGVARCHAR (-10) > > Let's try change Max Longvarchar size from 8190 to something higher > (at least 16380). If it doesn't help try change the Max Longvarchar > size to -4 (SQL_NO_TOTAL). > > Maybe it helps or maybe it doesn't. > > Regards, > > Luf >