pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Access and field sizes
2+ messages / 2 participants
[nested] [flat]

* Access and field sizes
@ 1999-10-25 23:49 Andrew Perrin - Demography <aperrin@demog.berkeley.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Perrin - Demography @ 1999-10-25 23:49 UTC (permalink / raw)
  To: pgsql-sql

Greetings-

I'm in the process of porting a database from Access to postgres, and have
run into a snag.  The snag involves boolean fields using checkboxes in
Access forms; they always return a useless Microsoftish error:

The field is too small to accept the amount of data you attempted to add.
Try inserting or pasting less data. 

This happens when a checkbox is clicked to set a boolean value to True,
but not when it is clicked to set the value back to False.

Does anyone have any experience or idea where to go with this?

Thanks-
Andy Perrin

---------------------------------------------------------------------
Andrew J. Perrin - aperrin@demog.berkeley.edu - NT/Unix Admin/Support
Department of Demography    -    University of California at Berkeley
2232 Piedmont Avenue #2120  -    Berkeley, California, 94720-2120 USA
http://demog.berkeley.edu/~aperrin --------------------------SEIU1199




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

* RE: [SQL] Access and field sizes
@ 1999-10-26 08:24 John Ridout <johnridout@ctasystems.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: John Ridout @ 1999-10-26 08:24 UTC (permalink / raw)
  To: 'Andrew Perrin - Demography' <aperrin@demog.berkeley.edu>; pgsql-sql

Hi Andrew,

MS Access considers false as 0 and true as -1.
I believe this is the source of your problem.
You could use a different PostgreSQL data type to store your MS Booleans
or define your own PostgreSQL data type.
I'll be defining my own datatype when I have time.
I'm in the process of writing an upsizing wizard for MS Access to PostgreSQL.
Please let me know of any other problems you run into
relating to upsizing MS Access to PostgreSQL.

John Ridout.

-----Original Message-----
From:	Andrew Perrin - Demography [SMTP:aperrin@demog.berkeley.edu]
Sent:	26 October 1999 00:49
To:	pgsql-sql@postgreSQL.org
Subject:	[SQL] Access and field sizes

Greetings-

I'm in the process of porting a database from Access to postgres, and have
run into a snag.  The snag involves boolean fields using checkboxes in
Access forms; they always return a useless Microsoftish error:

The field is too small to accept the amount of data you attempted to add.
Try inserting or pasting less data. 

This happens when a checkbox is clicked to set a boolean value to True,
but not when it is clicked to set the value back to False.

Does anyone have any experience or idea where to go with this?

Thanks-
Andy Perrin

---------------------------------------------------------------------
Andrew J. Perrin - aperrin@demog.berkeley.edu - NT/Unix Admin/Support
Department of Demography    -    University of California at Berkeley
2232 Piedmont Avenue #2120  -    Berkeley, California, 94720-2120 USA
http://demog.berkeley.edu/~aperrin --------------------------SEIU1199


************




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


end of thread, other threads:[~1999-10-26 08:24 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-10-25 23:49 Access and field sizes Andrew Perrin - Demography <aperrin@demog.berkeley.edu>
1999-10-26 08:24 RE: [SQL] Access and field sizes John Ridout <johnridout@ctasystems.co.uk>

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