X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E81B6528CF for ; Mon, 16 May 2005 17:47:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72824-01 for ; Mon, 16 May 2005 20:47:54 +0000 (GMT) Received: from web20826.mail.yahoo.com (web20826.mail.yahoo.com [216.136.227.165]) by svr1.postgresql.org (Postfix) with SMTP id B8B8952849 for ; Mon, 16 May 2005 17:47:52 -0300 (ADT) Received: (qmail 22954 invoked by uid 60001); 16 May 2005 20:47:54 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=v28n63pSPJMoqz6t6hXLWaAEwtBaCKpB+vTZYKhnDLWQha5Mb78ncGb1jMlPvX87ZHabIIt2XdA5w1L1iVAuBXeWh93kGZh80qF3VNtQvtJhPje0X4Ed4JREtsMXdafzVMKpmMGMA8CNRNFg3t5OWu6dTyFlNF8f30eNnp5A6Nc= ; Message-ID: <20050516204754.22952.qmail@web20826.mail.yahoo.com> Received: from [24.248.12.141] by web20826.mail.yahoo.com via HTTP; Mon, 16 May 2005 13:47:54 PDT Date: Mon, 16 May 2005 13:47:54 -0700 (PDT) From: Jeff Eckermann Subject: Re: Access 2000 bitching... "The field is too small to accept the amount of data you attempted to add" To: Peter Bense , pgsql-odbc@postgresql.org In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.011 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST X-Spam-Level: * X-Archive-Number: 200505/22 X-Sequence-Number: 5325 --- Peter Bense wrote: > I am getting a > > "The field is too small to accept the amount of data > you attempted to > add" postgresql error when attempting to enter data > into the following > linked table in MS-Access. Nothing seems to be out > of range. Any > ideas?: I assume you are using check boxes? This has been a frequently encountered problem for Access users. I adopted a specific workaround a while ago, then forgot about the problem. But before I recommend that workaround, let's make sure that time has not revealed a better way. What are your driver settings for "bools as char" and "true is -1"? > > CREATE TABLE tblpis_survey_receipt ( > insertion SERIAL, > ppt_id INT4 NOT NULL, > date_received DATE NOT NULL, > staff_id INT4 NOT NULL, > survey_type INT2 NOT NULL, > is_blank BOOL NOT NULL, > birth_month INT2, > birth_year INT2, > check_ppt BOOL NOT NULL, > check_dob BOOL NOT NULL, > check_tracking BOOL NOT NULL, > date_inserted TIMESTAMP WITHOUT TIME ZONE NOT > NULL, > date_modified TIMESTAMP WITHOUT TIME ZONE NOT > NULL, > PRIMARY KEY (insertion) > ); > > > Peter T. Bense - Teradata Certified Professional > (ptbense@gwm.sc.edu) - 803-777-9476 > Database Administrator/Webmaster > Prevention Research Center > University of South Carolina > > ---------------------------(end of > broadcast)--------------------------- > TIP 2: you can get off all lists at once with the > unregister command > (send "unregister YourEmailAddressHere" to > majordomo@postgresql.org) > __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail