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 F0596D1B1D9 for ; Tue, 15 Jun 2004 12:17:10 -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 22570-03 for ; Tue, 15 Jun 2004 15:17:06 +0000 (GMT) Received: from web20804.mail.yahoo.com (web20804.mail.yahoo.com [216.136.226.193]) by svr1.postgresql.org (Postfix) with SMTP id 603C5D1B1C8 for ; Tue, 15 Jun 2004 12:17:03 -0300 (ADT) Message-ID: <20040615151659.36113.qmail@web20804.mail.yahoo.com> Received: from [24.248.12.72] by web20804.mail.yahoo.com via HTTP; Tue, 15 Jun 2004 08:16:59 PDT Date: Tue, 15 Jun 2004 08:16:59 -0700 (PDT) From: Jeff Eckermann Subject: Re: @#$%^& Access and PostgreSQL To: "Roderick A. Anderson" Cc: pgsql-odbc@postgresql.org In-Reply-To: <40CE4FA3.2020100@joeconway.com> 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=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/30 X-Sequence-Number: 4100 --- Joe Conway wrote: > Roderick A. Anderson wrote: > > Short story. Pg 7.2 running on a Linux box. MS > Access 2000 on WinXP Pro. > > I can query and fiddle with the data in Access but > I haven't figured out > > how to get the changes back into Pg. > > > > > Quick; please someone hit me with a cluestick! Or > if it's too far to > > reach is there a tutorial on using MS Access and > Pg together? > > It's been a long time since I've messed with > MSAccess/pgsql, but IIRC, > you need to be sure your table has a primary key > defined to get a > writeable recordset. Also, make sure the linked > table on the Access side > reflects that. Good points: always refresh (or relink) your linked tables after making changes to tables on the server side; also, I find life becomes much easier with Access when I use a serial primary key on every table as a matter of course. Have you created your tables without oid's? I believe that could cause you a problem, because the ODBC driver expects oid's in some circumstances. In any case, I suggest you set the "row versioning" driver setting to true. The suggestion elsewhere to turn on logging, on both client and server sides, is a good one. > > HTH, > > Joe > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please > send an appropriate > subscribe-nomail command to > majordomo@postgresql.org so that your > message can get through to the mailing list > cleanly > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail