Re: delphi access question? - Mailing list pgsql-odbc

From Merlin Moncure
Subject Re: delphi access question?
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3415C22A4@Herge.rcsinc.local
Whole thread Raw
In response to delphi access question?  ("Joel Fradkin" <jfradkin@wazagua.com>)
Responses Re: delphi access question?
List pgsql-odbc
> 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?

Seems like it is having problems with your character fields.  Are you
using the BDE?  If so, I'd strongly suggest checking out Zeos database
objects and porting your app to use them at the same time.

Merlin

pgsql-odbc by date:

Previous
From: Kelly Burkhart
Date:
Subject: Re: Memory Leak when freeing statement
Next
From: "Joel Fradkin"
Date:
Subject: Re: [SQL] delphi access question?