Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AB8072E0381 for ; Wed, 19 Dec 2007 14:06:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 41311-06 for ; Wed, 19 Dec 2007 14:06:47 -0400 (AST) Received: from andromeda1.neonex.com.br (dns3.neonex.com.br [201.28.22.10]) by postgresql.org (Postfix) with ESMTP id 191BE2E035D for ; Wed, 19 Dec 2007 14:06:47 -0400 (AST) Received: from 201-13-84-127.dsl.telesp.net.br ([201.13.84.127] helo=[127.0.0.1]) by andromeda1.neonex.com.br with esmtpa (Exim 4.63) (envelope-from ) id 1J53Jd-0008Qj-Bs for pgsql-odbc@postgresql.org; Wed, 19 Dec 2007 16:06:45 -0200 Message-ID: <47695DB3.6070406@planit.com.br> Date: Wed, 19 Dec 2007 16:06:43 -0200 From: "Luiz K. Matsumura" Organization: Plan IT Tecnologia =?ISO-8859-1?Q?Inform=E1tica_Ltda=2E?= User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org References: <20071219172020.M55605@planit.com.br> In-Reply-To: <20071219172020.M55605@planit.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 071218-0, 12/18/2007), Outbound message X-Antivirus-Status: Clean X-SA-Exim-Connect-IP: 201.13.84.127 X-SA-Exim-Rcpt-To: pgsql-odbc@postgresql.org Subject: Re: Feature request X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.644 tagged_above=0 required=5 tests=BAYES_50=0.001, RCVD_IN_NJABL_PROXY=1.643 X-Spam-Level: * X-Archive-Number: 200712/27 X-Sequence-Number: 9305 Ugh, Replying my own question. There are a setting to enable this feature in VFP. Well, for the VFP developers the command is cursorsetprop( "MapVarChar" , .T. , 0 ) That will enable to retrieve varchar as varchar field in the resultsets of SqlExec() command. Sorry by the inconvenience. luiz wrote: > Hi, > > I´m access postgresql with Visual FoxPro 9.0 trough ODBC driver. > Vfp 9.0 have varchar data type but when retrieve data from postgresql, > actualy varchar(n) fields are returned as character(n). > Can this fields be returned as varchar(n) ? > ODBC can provide this feature, or this is a VFP behaviour that convert this > fields ? > > Thanks in advance. > > Luiz > > -- > Plan IT Tecnologia Informatica Ltda. > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > > > -- Luiz K. Matsumura Plan IT Tecnologia Informática Ltda.