X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E4544D1D621 for ; Thu, 11 Mar 2004 23:37:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 08427-05 for ; Thu, 11 Mar 2004 19:38:02 -0400 (AST) Received: from web20802.mail.yahoo.com (web20802.mail.yahoo.com [216.136.226.191]) by svr1.postgresql.org (Postfix) with SMTP id 021CDD1D554 for ; Thu, 11 Mar 2004 19:37:55 -0400 (AST) Message-ID: <20040311233802.42300.qmail@web20802.mail.yahoo.com> Received: from [24.248.12.72] by web20802.mail.yahoo.com via HTTP; Thu, 11 Mar 2004 15:38:02 PST Date: Thu, 11 Mar 2004 15:38:02 -0800 (PST) From: Jeff Eckermann Subject: Re: Access 2002 and psqlodbc 7.03.02 To: "David P. Lurie" , pgsql-odbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/32 X-Sequence-Number: 3834 --- "David P. Lurie" wrote: > Sorry for duplicate post if such occurs; I > originally posted this via > news.gmane.org before subscribing to the mailing > list. > > I'm trying to use Access 2002 as a front end to > postgresql on a small LAN, > with several local users and a few intermittent > users via VPN from home. > > Server : SCO OSR 5.0.7 > postgresql 7.3.4 - binary version that > came with a recent > SCO update; will build a new version from source > when time > allows. > > Workstations: XP Pro or Windows 2000 > cygwin version 7.4.1 on two > XP boxes, along with > PGAdminIII and psqlodbc > 7.03.02. > > Hope to asynchronously replicate from the server to > the Windows boxes at > night, in addition to server DAT and DVD backups. Why? In particular, why do you want to concurrently run local and server versions of the database? > The workstations will > eventually get Office XP Developer runtime versions > of the planned Access > application. > > Some of the tables will need something analogous to > an Access autonumber > field. Postgresql sequences used to populate an int8 > column seem similar. A > short VBA procedure could set the field value to > nextval(sequence_name) as > the BeforeUpdate event for a data entry form. Would > this be the correct > approach? No need, if you are using bound forms. On the one hand you will always have the primary key value handy, which may help you avoid some error cases. But then you need a network round trip to get it, for every insert. I doubt that it's worth the trouble. > > Should queries be passthrough whenever possible, for > speed? Yes. > > Thanks, > > David P. Lurie > > > > > ---------------------------(end of > broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com