pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Can't get more than 255 chars out of memo field in Access 97.
23+ messages / 8 participants
[nested] [flat]

* Can't get more than 255 chars out of memo field in Access 97.
@ 2002-11-26 19:49  Benjamin Scherrey <scherrey@proteus-tech.com>
  0 siblings, 0 replies; 23+ messages in thread

From: Benjamin Scherrey @ 2002-11-26 19:49 UTC (permalink / raw)
  To: pgsql-odbc

I'm using ODBC driver PostgreSQL + Unicode (Beta) 7.02.00.04 to talk to a (linux) Postgres 7.3b5 
from Access 97 under WinXP. Using ODBC linked tables from the Access front end - I am unable to 
get a text field (which was formerlly a memo field when it was local to Access) to allow me to enter 
more than 255 characters into the database. I've tried altering the DataType options and increasing 
sizes about every iteration I can think of with no luck. Am I running into an ODBC driver issue or 
Access? Any ideas how I can get around this?

	thanx & later,

		Ben Scherrey







^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 09:51  Henshall, Stuart - Design & Print <SHenshall@westcountry-design-print.co.uk>
  0 siblings, 1 reply; 23+ messages in thread

From: Henshall, Stuart - Design & Print @ 2002-11-27 09:51 UTC (permalink / raw)
  To: Benjamin Scherrey <scherrey@proteus-tech.com>; pgsql-odbc

Benjamin Scherrey wrote:
> I'm using ODBC driver PostgreSQL + Unicode (Beta) 7.02.00.04
> to talk to a (linux) Postgres 7.3b5
> from Access 97 under WinXP. Using ODBC linked tables from the
> Access front end - I am unable to
> get a text field (which was formerlly a memo field when it
> was local to Access) to allow me to enter
> more than 255 characters into the database. I've tried
> altering the DataType options and increasing
> sizes about every iteration I can think of with no luck. Am I
> running into an ODBC driver issue or
> Access? Any ideas how I can get around this?
> 
> 	thanx & later,
> 
> 		Ben Scherrey
> 
> 
> 
> 
Ensure that text as long varchar is checked
hth,
- Stuart

^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 15:46  Jeff Eckermann <jeff_eckermann@yahoo.com>
  parent: Henshall, Stuart - Design & Print <SHenshall@westcountry-design-print.co.uk>
  0 siblings, 1 reply; 23+ messages in thread

From: Jeff Eckermann @ 2002-11-27 15:46 UTC (permalink / raw)
  To: pgsql-odbc

This raises an issue for Access developers which, in
spite of searching archives, FAQs etc. I have not seen
explicitly stated anywhere.

I have found that, to be able to use both "text" and
"memo" types within Access, linking to tables in a
PostgreSQL database, the following must be done:
* table definitions in PostgreSQL must use "varchar"
for fields desired to be "text" in Access, and "text"
for fields desired to be "memo" in Access, and:
* "Text As LongVarChar" must be checked in the DSN.

This conflicts somewhat with the usual advice given on
the use of PostgreSQL data types, which summarizes as:
"varchar has no advantage over text, unless you have a
reason to limit the size of the field".  Since "text"
is so easy to use (one size fits all), that can lead
to a blithe use of "text" fields, which for Access
developers can be a trap waiting to happen.

I can see at least one major dump-and-edit session in
my future.

Since I am discussing Access development issues, I
would be interested in comments on the boolean issue,
which I see has caused much discussion in the past.

I have found that with the "Bools As Char" option
checked, all of my check boxes failed to work.  They
could be unchecked successfully, but when attempting
to check an unchecked box, Access would raise an error
like: "The data that you attempted to insert is too
large for the field".  Looking at the table design
window in Access, I saw that all of the boolean fields
were rendered as "text".

After unchecking the "Bools As Char" option, and
running the "booleqint4" operator creation code that
has been posted to this list in the past, my problem
went away.  After relinking the tables, they now all
show "Yes/No" for all of the boolean fields, and check
boxes work as expected.

I know that others like different solutions (using
int2 has been mentioned), but I like the "fix once and
forget" nature of my solution.  Is there some pitfall
that I am missing here?

--- "Henshall, Stuart - Design & Print"
<SHenshall@westcountry-design-print.co.uk> wrote:
> Benjamin Scherrey wrote:
> > I am unable to
> > get a text field (which was formerlly a memo field
> when it
> > was local to Access) to allow me to enter
> > more than 255 characters into the database. 
> > 
> Ensure that text as long varchar is checked
> hth,
> - Stuart
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 18:24  Benjamin Scherrey <scherrey@proteus-tech.com>
  parent: Jeff Eckermann <jeff_eckermann@yahoo.com>
  0 siblings, 2 replies; 23+ messages in thread

From: Benjamin Scherrey @ 2002-11-27 18:24 UTC (permalink / raw)
  To: pgsql-odbc; Jeff Eckermann <jeff_eckermann@yahoo.com>

11/27/2002 10:46:51 AM, Jeff Eckermann <jeff_eckermann@yahoo.com> wrote:

>This raises an issue for Access developers which, in
>spite of searching archives, FAQs etc. I have not seen
>explicitly stated anywhere.
>
>I have found that, to be able to use both "text" and
>"memo" types within Access, linking to tables in a
>PostgreSQL database, the following must be done:
>* table definitions in PostgreSQL must use "varchar"
>for fields desired to be "text" in Access, and "text"
>for fields desired to be "memo" in Access, and:
>* "Text As LongVarChar" must be checked in the DSN.

	This turns out to be what my problem is I think. I do have the attribute defined as a 'text' 
type in my postgres table definition but when linked to Access it still appears as 'text' in the table 
definition. When I try to alter this setting to memo in Access it complains that it "can't save property 
changes for linked tables". How to I get Access to recognize my Postgres 'text' attributes as memo 
fields?

	thanx & later,

		Ben Scherrey






^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 19:07  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Benjamin Scherrey <scherrey@proteus-tech.com>
  1 sibling, 1 reply; 23+ messages in thread

From: Bruce Momjian @ 2002-11-27 19:07 UTC (permalink / raw)
  To: Benjamin Scherrey <scherrey@proteus-tech.com>; +Cc: pgsql-odbc; Jeff Eckermann <jeff_eckermann@yahoo.com>


Where can we document this information?  I don't see it on the techdocs
site.


---------------------------------------------------------------------------

Benjamin Scherrey wrote:
> 11/27/2002 10:46:51 AM, Jeff Eckermann <jeff_eckermann@yahoo.com> wrote:
> 
> >This raises an issue for Access developers which, in
> >spite of searching archives, FAQs etc. I have not seen
> >explicitly stated anywhere.
> >
> >I have found that, to be able to use both "text" and
> >"memo" types within Access, linking to tables in a
> >PostgreSQL database, the following must be done:
> >* table definitions in PostgreSQL must use "varchar"
> >for fields desired to be "text" in Access, and "text"
> >for fields desired to be "memo" in Access, and:
> >* "Text As LongVarChar" must be checked in the DSN.
> 
> 	This turns out to be what my problem is I think. I do have the attribute defined as a 'text' 
> type in my postgres table definition but when linked to Access it still appears as 'text' in the table 
> definition. When I try to alter this setting to memo in Access it complains that it "can't save property 
> changes for linked tables". How to I get Access to recognize my Postgres 'text' attributes as memo 
> fields?
> 
> 	thanx & later,
> 
> 		Ben Scherrey
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 19:52  Jeff Eckermann <jeff_eckermann@yahoo.com>
  parent: Benjamin Scherrey <scherrey@proteus-tech.com>
  1 sibling, 1 reply; 23+ messages in thread

From: Jeff Eckermann @ 2002-11-27 19:52 UTC (permalink / raw)
  To: Benjamin Scherrey <scherrey@proteus-tech.com>; pgsql-odbc


--- Benjamin Scherrey <scherrey@proteus-tech.com>
wrote:
> 11/27/2002 10:46:51 AM, Jeff Eckermann
> <jeff_eckermann@yahoo.com> wrote:
> 
> >This raises an issue for Access developers which,
> in
> >spite of searching archives, FAQs etc. I have not
> seen
> >explicitly stated anywhere.
> >
> >I have found that, to be able to use both "text"
> and
> >"memo" types within Access, linking to tables in a
> >PostgreSQL database, the following must be done:
> >* table definitions in PostgreSQL must use
> "varchar"
> >for fields desired to be "text" in Access, and
> "text"
> >for fields desired to be "memo" in Access, and:
> >* "Text As LongVarChar" must be checked in the DSN.
> 
> 	This turns out to be what my problem is I think. I
> do have the attribute defined as a 'text' 
> type in my postgres table definition but when linked
> to Access it still appears as 'text' in the table 
> definition. When I try to alter this setting to memo
> in Access it complains that it "can't save property 
> changes for linked tables". How to I get Access to
> recognize my Postgres 'text' attributes as memo 
> fields?
> 
> 	thanx & later,
> 
> 		Ben Scherrey
> 
The implication is, there is no workaround.  You will
need to change the table definitions in your
PostgreSQL database to use varchar(n) datatypes
whereever you want Access to see text.  It is possible
to hack the system tables to achieve this (search the
archives to get instructions), but the cleanest way
definitely is to dump the database, edit the dump file
and then restore it (I will be doing this myself quite
soon :-)).  Set "Text As LongVarChar" to on, relink
your tables, and you should be good to go.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 19:56  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jeff Eckermann <jeff_eckermann@yahoo.com>
  0 siblings, 1 reply; 23+ messages in thread

From: Tom Lane @ 2002-11-27 19:56 UTC (permalink / raw)
  To: Jeff Eckermann <jeff_eckermann@yahoo.com>; +Cc: Benjamin Scherrey <scherrey@proteus-tech.com>; pgsql-odbc

Jeff Eckermann <jeff_eckermann@yahoo.com> writes:
> The implication is, there is no workaround.  You will
> need to change the table definitions in your
> PostgreSQL database to use varchar(n) datatypes
> whereever you want Access to see text.

I wonder whether we could/should hack our ODBC driver to report "text"
columns as "varchar(n)" (and if so, what n should we use)?  Seems like
enough people want to use Access that this would be a useful option.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 20:08  Jeff Eckermann <jeff_eckermann@yahoo.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 2 replies; 23+ messages in thread

From: Jeff Eckermann @ 2002-11-27 20:08 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Benjamin Scherrey <scherrey@proteus-tech.com>; pgsql-odbc


--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Jeff Eckermann <jeff_eckermann@yahoo.com> writes:
> > The implication is, there is no workaround.  You
> will
> > need to change the table definitions in your
> > PostgreSQL database to use varchar(n) datatypes
> > whereever you want Access to see text.
> 
> I wonder whether we could/should hack our ODBC
> driver to report "text"
> columns as "varchar(n)" (and if so, what n should we
> use)?  Seems like
> enough people want to use Access that this would be
> a useful option.
> 
> 			regards, tom lane

The problem lies in the Access distinction between
"text" type, which is fully functional but limited in
size (the OP's problem), and "memo", which allows much
more storage, but is limited in functionality: "memo"
fields cannot be indexed, sorted, grouped by, joined
against etc.  

The driver can presently render text as "text" or as
"memo", depending on the chosen configuration.  I
don't see how it could reasonably distinguish between
two text fields so as to call one "text" and the other
"memo".

I would say that this is just one of those quirks that
an Access user/developer will need to be aware of. 
Which is to be discussed in another thread ...


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 20:15  Jeff Eckermann <jeff_eckermann@yahoo.com>
  parent: Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 2 replies; 23+ messages in thread

From: Jeff Eckermann @ 2002-11-27 20:15 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; justin@postgresql.org; +Cc: pgsql-odbc; Jeff Eckermann <jeff_eckermann@yahoo.com>


--- Bruce Momjian <pgman@candle.pha.pa.us> wrote:
> 
> Where can we document this information?  I don't see
> it on the techdocs
> site.
> 

Good question.  The available stuff is piecemeal, and
split between techdocs and the odbc site.  Joel
Burton's FAQ is the largest, but is incomplete and
appears not to have been worked on much for the last
couple of years.  There is the makings of a good FAQ
on the odbc site: perhaps that could be moved to
techdocs, and expanded using reader contributions?  I
would be happy to put in some pieces, although I am
sure that there are plenty whose knowledge is much
greater than mine.

Justin?

> 
>
---------------------------------------------------------------------------
> 
> Benjamin Scherrey wrote:
> > 11/27/2002 10:46:51 AM, Jeff Eckermann
> <jeff_eckermann@yahoo.com> wrote:
> > 
> > >This raises an issue for Access developers which,
> in
> > >spite of searching archives, FAQs etc. I have not
> seen
> > >explicitly stated anywhere.
> > >
> > >I have found that, to be able to use both "text"
> and
> > >"memo" types within Access, linking to tables in
> a
> > >PostgreSQL database, the following must be done:
> > >* table definitions in PostgreSQL must use
> "varchar"
> > >for fields desired to be "text" in Access, and
> "text"
> > >for fields desired to be "memo" in Access, and:
> > >* "Text As LongVarChar" must be checked in the
> DSN.
> > 
> > 	This turns out to be what my problem is I think.
> I do have the attribute defined as a 'text' 
> > type in my postgres table definition but when
> linked to Access it still appears as 'text' in the
> table 
> > definition. When I try to alter this setting to
> memo in Access it complains that it "can't save
> property 
> > changes for linked tables". How to I get Access to
> recognize my Postgres 'text' attributes as memo 
> > fields?
> > 
> > 	thanx & later,
> > 
> > 		Ben Scherrey
> > 
> > 
> > 
> > 
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> > 
> > http://archives.postgresql.org
> > 
> 
> -- 
>   Bruce Momjian                        | 
> http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610)
> 359-1001
>   +  If your life is a hard drive,     |  13 Roberts
> Road
>   +  Christ can be your backup.        |  Newtown
> Square, Pennsylvania 19073


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 20:24  Benjamin Scherrey <scherrey@proteus-tech.com>
  parent: Jeff Eckermann <jeff_eckermann@yahoo.com>
  1 sibling, 0 replies; 23+ messages in thread

From: Benjamin Scherrey @ 2002-11-27 20:24 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; Jeff Eckermann <jeff_eckermann@yahoo.com>; +Cc: pgsql-odbc

11/27/2002 3:08:35 PM, Jeff Eckermann <jeff_eckermann@yahoo.com> wrote:

>
>--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
<snip>
>> I wonder whether we could/should hack our ODBC
>> driver to report "text"
>> columns as "varchar(n)" (and if so, what n should we
>> use)?  Seems like
>> enough people want to use Access that this would be
>> a useful option.

	Access only allows text FieldSize properties to be between 0 and 255 so this would be of 
limited or no use.


>> 
>> 			regards, tom lane
>
>The problem lies in the Access distinction between
>"text" type, which is fully functional but limited in
>size (the OP's problem), and "memo", which allows much
>more storage, but is limited in functionality: "memo"
>fields cannot be indexed, sorted, grouped by, joined
>against etc.  
>
>The driver can presently render text as "text" or as
>"memo", depending on the chosen configuration.  I
>don't see how it could reasonably distinguish between
>two text fields so as to call one "text" and the other
>"memo".

	It can?!?!? I can't seem to get this to work then. Event with 'Text as LongVarChar' turned 
off it still insists on treating my (formerlly) memo field as a text field with resulting limitations. I don't 
want this data indexed or anything - just a plain old free form text memo field. I can't seem to figure 
out what settings are necessary to get Access to recognize this as a memo field.

create table "Table-MCMProgram 2000" ( 
"ID" serial unique not null , 
"Date Opened" date null , 
"Name" varchar ( 50 ) not null , 
"Account#" integer not null , 
"Date of Birth" varchar ( 50 ) null , 
"Attending MD" varchar ( 50 ) null , 
"Health  Plan Category" varchar ( 50 ) not null , 
"County" varchar ( 50 ) null , 
"Case Status" varchar ( 50 ) not null , 
"UR Notes" text null )

	Access treats all the varchar and text fields as text in my ODBC link. I just need "UR 
Notes" to act like a good old memo field once again so I can get more than 255 chars in it.

	thanx & later,

		Ben Scherrey

PS: I dislike the table/attribute names as well but it is outside of my scope of work to alter the 
Access forms significantly so we're using the old names.






^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 20:25  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jeff Eckermann <jeff_eckermann@yahoo.com>
  1 sibling, 0 replies; 23+ messages in thread

From: Tom Lane @ 2002-11-27 20:25 UTC (permalink / raw)
  To: Jeff Eckermann <jeff_eckermann@yahoo.com>; +Cc: Benjamin Scherrey <scherrey@proteus-tech.com>; pgsql-odbc

Jeff Eckermann <jeff_eckermann@yahoo.com> writes:
> The driver can presently render text as "text" or as
> "memo", depending on the chosen configuration.  I
> don't see how it could reasonably distinguish between
> two text fields so as to call one "text" and the other
> "memo".

I was thinking of offering an option to have it render *all* text fields
as "varchar(n)", as a third alternative to the above two.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 21:35  Justin Clift <justin@postgresql.org>
  parent: Jeff Eckermann <jeff_eckermann@yahoo.com>
  1 sibling, 0 replies; 23+ messages in thread

From: Justin Clift @ 2002-11-27 21:35 UTC (permalink / raw)
  To: Jeff Eckermann <jeff_eckermann@yahoo.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-odbc

Jeff Eckermann wrote:
> 
> --- Bruce Momjian <pgman@candle.pha.pa.us> wrote:
> >
> > Where can we document this information?  I don't see
> > it on the techdocs
> > site.
> >
> 
> Good question.  The available stuff is piecemeal, and
> split between techdocs and the odbc site.  Joel
> Burton's FAQ is the largest, but is incomplete and
> appears not to have been worked on much for the last
> couple of years.  There is the makings of a good FAQ
> on the odbc site: perhaps that could be moved to
> techdocs, and expanded using reader contributions?  I
> would be happy to put in some pieces, although I am
> sure that there are plenty whose knowledge is much
> greater than mine.

Definitely sounds like a good idea.

Anyone feel comfortable doing it in the new PostgreSQL Guides section of
Techdocs?

http://techdocs.postgresql.org/guides/

Some functionality is still being added to this area as time permits,
but all the basics are in place.

To create a new page, just go to that above URL but also add the name of
the page.  i.e.:

http://techdocs.postgresql.org/guides/ODBCFaq

As the page doesn't already exist, it will give you the option of
creating it on the spot and editing it, etc.

:-)

Regards and best wishes,

Justin Clift


> Justin?


-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
   - Indira Gandhi



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 21:56  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 1 reply; 23+ messages in thread

From: Dave Page @ 2002-11-27 21:56 UTC (permalink / raw)
  To: Jeff Eckermann <jeff_eckermann@yahoo.com>; Bruce Momjian <pgman@candle.pha.pa.us>; justin@postgresql.org; +Cc: pgsql-odbc



> -----Original Message-----
> From: Jeff Eckermann [mailto:jeff_eckermann@yahoo.com] 
> Sent: 27 November 2002 20:16
> To: Bruce Momjian; justin@postgresql.org
> Cc: pgsql-odbc@postgresql.org; Jeff Eckermann
> Subject: Re: [ODBC] Can't get more than 255 chars out of memo 
> field in Acc
> 
> --- Bruce Momjian <pgman@candle.pha.pa.us> wrote:
> > 
> > Where can we document this information?  I don't see
> > it on the techdocs
> > site.
> > 
> 
> Good question.  The available stuff is piecemeal, and
> split between techdocs and the odbc site.  Joel
> Burton's FAQ is the largest, but is incomplete and
> appears not to have been worked on much for the last
> couple of years.  There is the makings of a good FAQ
> on the odbc site: perhaps that could be moved to
> techdocs, and expanded using reader contributions?  I
> would be happy to put in some pieces, although I am
> sure that there are plenty whose knowledge is much
> greater than mine.
> 
> Justin?

Or Dave...

The FAQ has been part of the ODBC stuff since at least 1996 iirc. It has
recently moved from the ODBC site to the psqlODBC project site on Gborg
as part of our shakeup of the interfaces etc.

It is worth remembering that techdocs is (at present) meant for
unofficial, yet useful docs. 'Official' docs are not currently stored
there.

I have updated the FAQ with new items as required (and submitted), but
as was recently said in another thread, FAQ implies 'frequent' which
this problem is not (it's the first time I've heard of it in many
years).

Regards, Dave.



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 22:10  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 23+ messages in thread

From: Dave Page @ 2002-11-27 22:10 UTC (permalink / raw)
  To: Benjamin Scherrey <scherrey@proteus-tech.com>; Tom Lane <tgl@sss.pgh.pa.us>; Jeff Eckermann <jeff_eckermann@yahoo.com>; +Cc: pgsql-odbc



> -----Original Message-----
> From: Benjamin Scherrey [mailto:scherrey@proteus-tech.com] 
> Sent: 27 November 2002 20:24
> To: Tom Lane; Jeff Eckermann
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Can't get more than 255 chars out of memo 
> field in Acc 
> 
> I can't seem to figure 
> out what settings are necessary to get Access to recognize 
> this as a memo field.
> 
> create table "Table-MCMProgram 2000" ( 
> "ID" serial unique not null , 
> "Date Opened" date null , 
> "Name" varchar ( 50 ) not null , 
> "Account#" integer not null , 
> "Date of Birth" varchar ( 50 ) null , 
> "Attending MD" varchar ( 50 ) null , 
> "Health  Plan Category" varchar ( 50 ) not null , 
> "County" varchar ( 50 ) null , 
> "Case Status" varchar ( 50 ) not null , 
> "UR Notes" text null )
> 
> 	Access treats all the varchar and text fields as text 
> in my ODBC link. I just need "UR 
> Notes" to act like a good old memo field once again so I can 
> get more than 255 chars in it.

I just tried linking this table with:

psqlODBC 07.02.0004
PostgreSQL 7.3rc1/Cygwin
Access XP

And it works perfectly using a DSN with all default settings:

ID				Number
Date Opened			Date/Time
Name				Text
Account#			Number
Date of Birth		Text
Attending MD		Text
Health Plan Category	Text
County			Text
Case Status			Text
UR Notes			Memo

Regards, Dave.




^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-27 23:41  Jeff Eckermann <jeff_eckermann@yahoo.com>
  parent: Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 23+ messages in thread

From: Jeff Eckermann @ 2002-11-27 23:41 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; justin@postgresql.org; +Cc: pgsql-odbc


--- Dave Page <dpage@vale-housing.co.uk> wrote:
> 
> The FAQ has been part of the ODBC stuff since at
> least 1996 iirc. It has
> recently moved from the ODBC site to the psqlODBC
> project site on Gborg
> as part of our shakeup of the interfaces etc.
> 
> It is worth remembering that techdocs is (at
> present) meant for
> unofficial, yet useful docs. 'Official' docs are not
> currently stored
> there.
> 
> I have updated the FAQ with new items as required
> (and submitted), but
> as was recently said in another thread, FAQ implies
> 'frequent' which
> this problem is not (it's the first time I've heard
> of it in many
> years).
> 
> Regards, Dave.
> 
Sorry for the trespass ;-)
Looks like what we really want is a "Guide", as Justin
suggested (of course, a link from the Techdocs page to
the FAQ would be good).
I do not feel sufficiently qualified to write a "Using
MS Access with PostgreSQL" guide, but I would be happy
to collaborate with any others who would be willing to
put time into it.
Any volunteers?

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-28 08:40  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 23+ messages in thread

From: Dave Page @ 2002-11-28 08:40 UTC (permalink / raw)
  To: Jeff Eckermann <jeff_eckermann@yahoo.com>; justin@postgresql.org; +Cc: pgsql-odbc



> -----Original Message-----
> From: Jeff Eckermann [mailto:jeff_eckermann@yahoo.com] 
> Sent: 27 November 2002 23:41
> To: Dave Page; justin@postgresql.org
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Can't get more than 255 chars out of memo 
> field in Acc
> 
> Sorry for the trespass ;-)
> Looks like what we really want is a "Guide", as Justin 
> suggested (of course, a link from the Techdocs page to the 
> FAQ would be good). I do not feel sufficiently qualified to 
> write a "Using MS Access with PostgreSQL" guide, but I would 
> be happy to collaborate with any others who would be willing 
> to put time into it. Any volunteers?

We are currently working on the websites in general to try to improve
access to the relevant info, and rationalise whats there (the first
phase is new portal, following which I will continue sorting out the
official ODBC stuff). I (and I suspect Justin) would not like to say
where anything will end up yet, but if anyone does want to submit useful
docs then please do so - we will find somewhere for them whilst
everything gets sorted out!

Regards, Dave.



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-28 19:21  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 1 reply; 23+ messages in thread

From: Dave Page @ 2002-11-28 19:21 UTC (permalink / raw)
  To: Justin Clift <justin@postgresql.org>; Jeff Eckermann <jeff_eckermann@yahoo.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-odbc



> -----Original Message-----
> From: Justin Clift [mailto:justin@postgresql.org] 
> Sent: 27 November 2002 21:35
> To: Jeff Eckermann
> Cc: Bruce Momjian; pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Can't get more than 255 chars out of memo 
> field in Acc
> 
> 
> Jeff Eckermann wrote:
> > 
> > 
> > Good question.  The available stuff is piecemeal, and
> > split between techdocs and the odbc site.  Joel
> > Burton's FAQ is the largest, but is incomplete and
> > appears not to have been worked on much for the last
> > couple of years.  There is the makings of a good FAQ
> > on the odbc site: perhaps that could be moved to
> > techdocs, and expanded using reader contributions?  I
> > would be happy to put in some pieces, although I am
> > sure that there are plenty whose knowledge is much
> > greater than mine.
> 
> Definitely sounds like a good idea.
> 
> Anyone feel comfortable doing it in the new PostgreSQL Guides 
> section of Techdocs?

It's a non issue until someone actually identifies any more FAQs to add
- this one is a) not a FAQ, and b) only a problem with the Beta Unicode
driver as far as we can tell.

Besides which, I was kindof under the impression that I was the ODBC
site webmaster or are we deprecating the site and Gborg project?

Regards, Dave.



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-28 20:04  Justin Clift <justin@postgresql.org>
  parent: Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 23+ messages in thread

From: Justin Clift @ 2002-11-28 20:04 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; +Cc: Jeff Eckermann <jeff_eckermann@yahoo.com>; Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-odbc

Dave Page wrote:
<snip>
> > Anyone feel comfortable doing it in the new PostgreSQL Guides
> > section of Techdocs?
> 
> It's a non issue until someone actually identifies any more FAQs to add
> - this one is a) not a FAQ, and b) only a problem with the Beta Unicode
> driver as far as we can tell.
> 
> Besides which, I was kindof under the impression that I was the ODBC
> site webmaster or are we deprecating the site and Gborg project?

Um, just trying to encourage people to create stuff which makes things
easier for people.

Don't *really* care where it ends up.

Like, if someone wants to create a guide/doc/stuff/anything, then I
reckon "Cool".

The new "PostgreSQL Guides" area is just to try and make starting things
as easy as possible, and also make it really easy for people to
contribute to them.

:-)

Regards and best wishes,

Justin Clift

 
> Regards, Dave.

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
   - Indira Gandhi



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-28 21:29  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 1 reply; 23+ messages in thread

From: Dave Page @ 2002-11-28 21:29 UTC (permalink / raw)
  To: Justin Clift <justin@postgresql.org>; +Cc: Jeff Eckermann <jeff_eckermann@yahoo.com>; Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-odbc



> -----Original Message-----
> From: Justin Clift [mailto:justin@postgresql.org] 
> Sent: 28 November 2002 20:05
> To: Dave Page
> Cc: Jeff Eckermann; Bruce Momjian; pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Can't get more than 255 chars out of memo 
> field in Acc
> 
> Um, just trying to encourage people to create stuff which 
> makes things easier for people.
> 
> Don't *really* care where it ends up.
> 
> Like, if someone wants to create a guide/doc/stuff/anything, 
> then I reckon "Cool".

I quite agree. I have 2 issues though *in this case*.

1) Adding additional ODBC FAQs in a different place from the rest will
just confuse things. I'm in the process of moving all the docs/faqs to
the Gborg project at the moment. I also don't care where it goes in the
end, but I think it should *all* go to either Gborg or Techdocs. Let's
finish the portal first though...

2) I don't think we should document (as a FAQ or otherwise) an
individual issue that has been noted only twice afaik with a barely beta
driver (a driver which doesn't seem to show this problem on any of my
machines BTW).

Regards, Dave.




^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-29 02:45  Jeff Eckermann <jeff_eckermann@yahoo.com>
  parent: Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 23+ messages in thread

From: Jeff Eckermann @ 2002-11-29 02:45 UTC (permalink / raw)
  To: Dave Page <dpage@vale-housing.co.uk>; Justin Clift <justin@postgresql.org>; +Cc: pgsql-odbc

This started out to be a discussion about working with
PostgreSQL using MS Access: to which ODBC driver
functionality is highly relevant, but not the whole
picture.

Some kind of work that brings together into one place
all of the bits that may presently be found scattered
around various sites and throughout the list archives
would appear to be A Good Thing.  There is no need for
anything about the ODBC documentation to change.  The
only question out there is, how best to do this, and
of course, who ;-)

--- Dave Page <dpage@vale-housing.co.uk> wrote:
> 
> 
> > -----Original Message-----
> > From: Justin Clift [mailto:justin@postgresql.org] 
> > Sent: 28 November 2002 20:05
> > To: Dave Page
> > Cc: Jeff Eckermann; Bruce Momjian;
> pgsql-odbc@postgresql.org
> > Subject: Re: [ODBC] Can't get more than 255 chars
> out of memo 
> > field in Acc
> > 
> > Um, just trying to encourage people to create
> stuff which 
> > makes things easier for people.
> > 
> > Don't *really* care where it ends up.
> > 
> > Like, if someone wants to create a
> guide/doc/stuff/anything, 
> > then I reckon "Cool".
> 
> I quite agree. I have 2 issues though *in this
> case*.
> 
> 1) Adding additional ODBC FAQs in a different place
> from the rest will
> just confuse things. I'm in the process of moving
> all the docs/faqs to
> the Gborg project at the moment. I also don't care
> where it goes in the
> end, but I think it should *all* go to either Gborg
> or Techdocs. Let's
> finish the portal first though...
> 
> 2) I don't think we should document (as a FAQ or
> otherwise) an
> individual issue that has been noted only twice
> afaik with a barely beta
> driver (a driver which doesn't seem to show this
> problem on any of my
> machines BTW).
> 
> Regards, Dave.
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-11-30 20:57  Joel Burton <joel@joelburton.com>
  parent: Jeff Eckermann <jeff_eckermann@yahoo.com>
  1 sibling, 1 reply; 23+ messages in thread

From: Joel Burton @ 2002-11-30 20:57 UTC (permalink / raw)
  To: Jeff Eckermann <jeff_eckermann@yahoo.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; justin@postgresql.org; pgsql-odbc

On Wed, Nov 27, 2002 at 12:15:57PM -0800, Jeff Eckermann wrote:
> 
> --- Bruce Momjian <pgman@candle.pha.pa.us> wrote:
> > 
> > Where can we document this information?  I don't see
> > it on the techdocs
> > site.
> > 
> 
> Good question.  The available stuff is piecemeal, and
> split between techdocs and the odbc site.  Joel
> Burton's FAQ is the largest, but is incomplete and
> appears not to have been worked on much for the last
> couple of years.  There is the makings of a good FAQ
> on the odbc site: perhaps that could be moved to
> techdocs, and expanded using reader contributions?  I
> would be happy to put in some pieces, although I am
> sure that there are plenty whose knowledge is much
> greater than mine.

Yep. I use Access very little nowadays (yipee!), so I don't really have
much to add. I'd be happy to turn this over to anyone who wants to clean
it up/add to it, etc.

- J.

-- 

Joel BURTON  |  joel@joelburton.com  |  joelburton.com  |  aim: wjoelburton
Independent Knowledge Management Consultant



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-12-03 19:03  Jeff Eckermann <jeff_eckermann@yahoo.com>
  parent: Joel Burton <joel@joelburton.com>
  0 siblings, 1 reply; 23+ messages in thread

From: Jeff Eckermann @ 2002-12-03 19:03 UTC (permalink / raw)
  To: Joel Burton <joel@joelburton.com>; +Cc: justin@postgresql.org; pgsql-odbc


--- Joel Burton <joel@joelburton.com> wrote:
> Yep. I use Access very little nowadays (yipee!), so
> I don't really have
> much to add. I'd be happy to turn this over to
> anyone who wants to clean
> it up/add to it, etc.
> 

(Crunching sound from biting of bullet)
Ok Joel, will you donate your stuff to techdocs,
assuming Justin is happy to host it?  I would be
willing to apply my limited knowledge to fleshing it
out, and others could then easily do the same.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



^ permalink  raw  reply  [nested|flat] 23+ messages in thread

* Re: Can't get more than 255 chars out of memo field in Acc
@ 2002-12-03 19:07  Joel Burton <joel@joelburton.com>
  parent: Jeff Eckermann <jeff_eckermann@yahoo.com>
  0 siblings, 0 replies; 23+ messages in thread

From: Joel Burton @ 2002-12-03 19:07 UTC (permalink / raw)
  To: Jeff Eckermann <jeff_eckermann@yahoo.com>; +Cc: Joel Burton <joel@joelburton.com>; justin@postgresql.org; pgsql-odbc

On Tue, Dec 03, 2002 at 11:03:59AM -0800, Jeff Eckermann wrote:
> 
> --- Joel Burton <joel@joelburton.com> wrote:
> > Yep. I use Access very little nowadays (yipee!), so
> > I don't really have
> > much to add. I'd be happy to turn this over to
> > anyone who wants to clean
> > it up/add to it, etc.
> > 
> 
> (Crunching sound from biting of bullet)
> Ok Joel, will you donate your stuff to techdocs,
> assuming Justin is happy to host it?  I would be
> willing to apply my limited knowledge to fleshing it
> out, and others could then easily do the same.

Sounds good. May you enjoy it.

You can simply download it from the joelburton.com/resources/pgaccess
location.

If I can explain anything in it (I wrote about 90% of it originally),
let me know.

- J.
-- 

Joel BURTON  |  joel@joelburton.com  |  joelburton.com  |  aim: wjoelburton
Independent Knowledge Management Consultant



^ permalink  raw  reply  [nested|flat] 23+ messages in thread


end of thread, other threads:[~2002-12-03 19:07 UTC | newest]

Thread overview: 23+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-26 19:49 Can't get more than 255 chars out of memo field in Access 97. Benjamin Scherrey <scherrey@proteus-tech.com>
2002-11-27 09:51 Re: Can't get more than 255 chars out of memo field in Acc Henshall, Stuart - Design & Print <SHenshall@westcountry-design-print.co.uk>
2002-11-27 15:46 ` Re: Can't get more than 255 chars out of memo field in Acc Jeff Eckermann <jeff_eckermann@yahoo.com>
2002-11-27 18:24   ` Re: Can't get more than 255 chars out of memo field in Acc Benjamin Scherrey <scherrey@proteus-tech.com>
2002-11-27 19:07     ` Re: Can't get more than 255 chars out of memo field in Acc Bruce Momjian <pgman@candle.pha.pa.us>
2002-11-27 20:15       ` Re: Can't get more than 255 chars out of memo field in Acc Jeff Eckermann <jeff_eckermann@yahoo.com>
2002-11-27 21:35         ` Re: Can't get more than 255 chars out of memo field in Acc Justin Clift <justin@postgresql.org>
2002-11-30 20:57         ` Re: Can't get more than 255 chars out of memo field in Acc Joel Burton <joel@joelburton.com>
2002-12-03 19:03           ` Re: Can't get more than 255 chars out of memo field in Acc Jeff Eckermann <jeff_eckermann@yahoo.com>
2002-12-03 19:07             ` Re: Can't get more than 255 chars out of memo field in Acc Joel Burton <joel@joelburton.com>
2002-11-27 19:52     ` Re: Can't get more than 255 chars out of memo field in Acc Jeff Eckermann <jeff_eckermann@yahoo.com>
2002-11-27 19:56       ` Re: Can't get more than 255 chars out of memo field in Acc Tom Lane <tgl@sss.pgh.pa.us>
2002-11-27 20:08         ` Re: Can't get more than 255 chars out of memo field in Acc Jeff Eckermann <jeff_eckermann@yahoo.com>
2002-11-27 20:24           ` Re: Can't get more than 255 chars out of memo field in Acc Benjamin Scherrey <scherrey@proteus-tech.com>
2002-11-27 20:25           ` Re: Can't get more than 255 chars out of memo field in Acc Tom Lane <tgl@sss.pgh.pa.us>
2002-11-27 21:56 Re: Can't get more than 255 chars out of memo field in Acc Dave Page <dpage@vale-housing.co.uk>
2002-11-27 23:41 ` Re: Can't get more than 255 chars out of memo field in Acc Jeff Eckermann <jeff_eckermann@yahoo.com>
2002-11-27 22:10 Re: Can't get more than 255 chars out of memo field in Acc Dave Page <dpage@vale-housing.co.uk>
2002-11-28 08:40 Re: Can't get more than 255 chars out of memo field in Acc Dave Page <dpage@vale-housing.co.uk>
2002-11-28 19:21 Re: Can't get more than 255 chars out of memo field in Acc Dave Page <dpage@vale-housing.co.uk>
2002-11-28 20:04 ` Re: Can't get more than 255 chars out of memo field in Acc Justin Clift <justin@postgresql.org>
2002-11-28 21:29 Re: Can't get more than 255 chars out of memo field in Acc Dave Page <dpage@vale-housing.co.uk>
2002-11-29 02:45 ` Re: Can't get more than 255 chars out of memo field in Acc Jeff Eckermann <jeff_eckermann@yahoo.com>

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