From: JPTrue@aol.com
To: pgsql-odbc@postgresql.org
Subject: Re: Text-Varchar Truncation via ODBC
Date: Fri, 27 Sep 2002 10:12:25 -0400
Message-ID: <1F017978.6EA06539.00048176@aol.com> (raw)
Thank you for the Reply,
Yes, access has the TEXT and MEMO data types.
The TEXT data type in Access is limited to 255 characters.
My problem was trying to map any PostGreSQL datatype to the Access-MEMO datatype. Access maps all variations of PostGreSQL-VARCHAR(n) to Access-TEXT.
I finally found a solution.
1. Make sure to select the 'Text As LongVarchar' option in the PostGreSQL ODBC Driver.
2. The PostGreSQL-TEXT datatype will map to Acess-MEMO datatype (DTS as well).
***(HINT) Using the linked table manager in Access to update modified tables does not work well. If any changes are made to a linked PostGreSQL table, the linked table in Access must be deleted and recreated to update the changes.
Thanks to everyone for your replies, and hopefully this note will help someone in the future.
Jeff
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: JPTrue@aol.com
Subject: Re: Text-Varchar Truncation via ODBC
In-Reply-To: <1F017978.6EA06539.00048176@aol.com>
References: <1F017978.6EA06539.00048176@aol.com>
* 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