Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Feature request


  • From: "Luiz K. Matsumura" <luiz(at)planit(dot)com(dot)br>
  • To: pgsql-odbc(at)postgresql(dot)org
  • Subject: Re: Feature request
  • Date: Wed, 19 Dec 2007 16:06:43 -0200
  • Message-id: <47695DB3.6070406@planit.com.br> <text/plain>

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.




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group