Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: delphi access question?: msg#00133

db.postgresql.odbc

Subject: Re: delphi access question?


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@xxxxxxxxxxx]
Sent: Wed 3/30/2005 12:15 PM
To: pgsql-sql@xxxxxxxxxxxxxx
Cc: pgsql-odbc@xxxxxxxxxxxxxx
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!





---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe