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 2E8513A3B74 for ; Wed, 10 Nov 2004 19:16:12 +0000 (GMT) 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 71481-10 for ; Wed, 10 Nov 2004 19:15:59 +0000 (GMT) Received: from web20828.mail.yahoo.com (web20828.mail.yahoo.com [216.136.227.167]) by svr1.postgresql.org (Postfix) with SMTP id 155553A4315 for ; Wed, 10 Nov 2004 19:15:59 +0000 (GMT) Received: (qmail 70670 invoked by uid 60001); 10 Nov 2004 19:15:58 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=RW9227y4PXP0pnROZdBhesI1plwbcg8gWivsh1sSVnSUWANpbJu7YSvysi7BZx6qy/+2fGFsgGG9c1hJOYThnnRkahrp1GTvzrUrZHVQ45sGJNZLUQB57pgxhS5Owezlqcq7i23TaB1uZ6+5UQphbxGC2f726Ggc7iW+yfywZ5k= ; Message-ID: <20041110191558.70665.qmail@web20828.mail.yahoo.com> Received: from [24.248.12.141] by web20828.mail.yahoo.com via HTTP; Wed, 10 Nov 2004 11:15:58 PST Date: Wed, 10 Nov 2004 11:15:58 -0800 (PST) From: Jeff Eckermann Subject: Re: Can't use current_timestamp or currval functions To: Mike Fahey , Postgres list In-Reply-To: <419249F1.9020504@enter.net> 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: 200411/28 X-Sequence-Number: 4642 --- Mike Fahey wrote: > I can't call currval() with the odbc driver. > > I'm using odbc driver version 8.0.0.2 with MS > ACcess 2003. > > I get the following error in access > > run-time error 3085: > > undefined function 'currval' in expression. > > How can i make this work? You will need to use a pass-through query, if you want to use Postgresql syntax, functions, operators etc. Otherwise, Access assumes that you are attempting to use an Access function etc. > > Thanks > > > > > > > > -- > With best regards, > > Mike Fahey - Systems Administration > ******************************************************************** > ENTER.NET - "The Road to the Internet Starts > Here!" (tm) > (610) 437-2221 * http://www.enter.net/ * > email:support@enter.net > ******************************************************************** > > > ---------------------------(end of > broadcast)--------------------------- > TIP 8: explain analyze is your friend > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com