pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Ridout <johnridout@ctasystems.co.uk>
To: 'Andrew Perrin - Demography' <aperrin@demog.berkeley.edu>
To: pgsql-sql@postgreSQL.org <pgsql-sql@postgreSQL.org>
Subject: RE: [SQL] Access and field sizes
Date: Tue, 26 Oct 1999 09:24:09 +0100
Message-ID: <01BF1F94.DDB7E2E0.johnridout@ctasystems.co.uk> (raw)

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


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




view thread (2+ messages)

Message-ID: <01BF1F94.DDB7E2E0.johnridout@ctasystems.co.uk>
Permalink:  ../01BF1F94.DDB7E2E0.johnridout@ctasystems.co.uk/
Also on:    postgresql.org/message-id/01BF1F94.DDB7E2E0.johnridout@ctasystems.co.uk

 · 

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 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-sql@postgresql.org
  Cc: johnridout@ctasystems.co.uk, aperrin@demog.berkeley.edu
  Subject: Re: [SQL] Access and field sizes
  In-Reply-To: <01BF1F94.DDB7E2E0.johnridout@ctasystems.co.uk>
  References: <01BF1F94.DDB7E2E0.johnridout@ctasystems.co.uk>

* 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