pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Fradkin <jfradkin@wazagua.com>
To: 'Gregory S. Williamson' <gsw@globexplorer.com>
To: pgsql-sql@postgresql.org
Cc: pgsql-odbc@postgresql.org
Subject: Re: [SQL] delphi access question?
Date: Wed, 30 Mar 2005 16:36:22 -0500
Message-ID: <001001c53570$84aee1b0$797ba8c0@jfradkin> (raw)
In-Reply-To: <71E37EF6B7DCC1499CEA0316A256832801D4C03B@loki.wc.globexplorer.net>

Yea odd thing is if I use a table type object it see the fields so it is
only with query objects.

The same odbc works ok with my asp pages.

I will see if I can figure out the zeos stuff.

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!







view thread (7+ messages)  latest in thread

Message-ID: <001001c53570$84aee1b0$797ba8c0@jfradkin>
Permalink:  ../001001c53570$84aee1b0$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/001001c53570$84aee1b0$797ba8c0@jfradkin

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jfradkin@wazagua.com, gsw@globexplorer.com, pgsql-odbc@postgresql.org
  Subject: Re: [SQL] delphi access question?
  In-Reply-To: <001001c53570$84aee1b0$797ba8c0@jfradkin>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox