Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 82133476818; Fri, 30 Aug 2002 09:53:41 -0400 (EDT) Received: from mail_exchange.westcountrypublications.co.uk (wcpmail.westcountrypublications.co.uk [195.171.163.153]) by postgresql.org (Postfix) with ESMTP id 02592476816; Fri, 30 Aug 2002 09:53:39 -0400 (EDT) Received: by MAIL_EXCHANGE with Internet Mail Service (5.5.2650.21) id ; Fri, 30 Aug 2002 14:46:01 +0100 Message-ID: From: "Henshall, Stuart - WCP" To: 'Randall Perry' , pgsql-general@postgresql.org Cc: pgsql-admin@postgresql.org Subject: Re: [GENERAL] Access 'field too long' error Date: Fri, 30 Aug 2002 14:46:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2502B.936AEFF0" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/403 X-Sequence-Number: 5517 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2502B.936AEFF0 Content-Type: text/plain; charset="iso-8859-1" I have succesfully linked the following table and view in both MS Access 97 and 2000. create table num_tbl(pk serial,n numeric(7,2),primary key (pk)); create view num_vw1 sa select * from num_tbl; I have had problems wiht indexes on 97 when used on fields it couldn't have indexed. If you post your table & view definition (as well as Access ver) I'll see if it works for me or not. - Stuart > -----Original Message----- > From: Randall Perry [mailto:rgp@systame.com] > Sent: 29 August 2002 18:31 > To: pgsql-general@postgresql.org > Cc: pgsql-admin@postgresql.org > Subject: [GENERAL] Access 'field too long' error > > > Getting the error: > The size of a field is too long > > From access when trying to link to a view. Discovered the > problem field is > of type numeric(7,2). But, if I try linking to the table the > view is based > on, I don't get the error. So, somehow this numeric field in > a view looks > different to Access than the same numeric field in a table. > > Any ideas? > > > -- > Randy Perry > sysTame > Mac Consulting/Sales > > http://www.systame.com/ > > > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > ------_=_NextPart_001_01C2502B.936AEFF0 Content-Type: text/html; charset="iso-8859-1" RE: [GENERAL] Access 'field too long' error

I have succesfully linked the following table and view
in both MS Access 97 and 2000.
create table num_tbl(pk serial,n numeric(7,2),primary key (pk));
create view num_vw1 sa select * from num_tbl;
I have had problems wiht indexes on 97 when used on fields it
couldn't have indexed.
If you post your table & view definition (as well as Access ver)
I'll see if it works for me or not.
- Stuart

> -----Original Message-----
> From: Randall Perry [mailto:rgp@systame.com]
> Sent: 29 August 2002 18:31
> To: pgsql-general@postgresql.org
> Cc: pgsql-admin@postgresql.org
> Subject: [GENERAL] Access 'field too long' error
>
>
> Getting the error:
>     The size of a field is too long
>
> From access when trying to link to a view. Discovered the
> problem field is
> of type numeric(7,2). But, if I try linking to the table the
> view is based
> on, I don't get the error. So, somehow this numeric field in
> a view looks
> different to Access than the same numeric field in a table.
>
> Any ideas?
>
>
> --
> Randy Perry
> sysTame
> Mac Consulting/Sales
>
> http://www.systame.com/
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

------_=_NextPart_001_01C2502B.936AEFF0--