Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 92C741336FA7 for ; Mon, 13 Dec 2010 11:27:28 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 37742-02 for ; Mon, 13 Dec 2010 15:27:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mail.postgresql.org (Postfix) with ESMTP id 1837B13364DE for ; Mon, 13 Dec 2010 11:27:20 -0400 (AST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=RIrwkmstFopqUW4gWXhmMnu49byJPrN9oWXUO7yREfmOGVm85vfQ0pWv0GVCPPAX; h=Message-ID:Date:From:Reply-To:To:Subject:Cc:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.38] (helo=elwamui-lapwing.atl.sa.earthlink.net) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1PSAIE-0004Kx-5V; Mon, 13 Dec 2010 10:26:26 -0500 Received: from 74.188.56.82 by webmail.earthlink.net with HTTP; Mon, 13 Dec 2010 10:26:00 -0500 Message-ID: <8770863.1292253960915.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net> Date: Mon, 13 Dec 2010 10:26:00 -0500 (GMT-05:00) From: "jsilberberg@mindspring.com" Reply-To: "jsilberberg@mindspring.com" To: Richard Broersma Subject: Re: Best way Driver 8.04.01 with Release 9.0 Cc: pgsql-odbc@postgresql.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: b196177a10f7a17043d71fb08c54a25c416dc04816f3191c9d2ccd34f4e7a12850a2775c6d2c5cb9218191bc31cc3b36350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.38 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201012/12 X-Sequence-Number: 10534 Helps alot --=20 Thank You very much. I will digest this and see what I can make work.. JMS.. -----Original Message----- >From: Richard Broersma >Sent: Dec 13, 2010 10:16 AM >To: "jsilberberg@mindspring.com" >Cc: pgsql-odbc@postgresql.org >Subject: Re: [ODBC] Best way Driver 8.04.01 with Release 9.0 > >On Sun, Dec 12, 2010 at 2:58 PM, jsilberberg@mindspring.com > wrote: > >> One small issue I have is that we are now using arrays in the DB and I c= an't find a way to >> access them in MS Access 2007 with the OBDC Driver 8.04.01. > >Unfortunately, the ODBC driver for 9.0 wasn't ready at the time of >release. You can get the 9.0 version here: >http://www.postgresql.org/ftp/odbc/versions/msi/ > >However, since array syntax was a PRE-9.0 feature, it would matter if >you upgraded to the 9.0 driver. > >> In PostgreSQL =C2=A0the Statement is =C2=A0Select * from table where 100= 0 =3D ANY(array_entry); >> As documented in chapter 8.14.5 >> >> Tried this syntext in MS Access 2007 with no joy, does anyone happen to = know how this >> should be handled in MS Access read only Selects. > >MS-Access should support this query using either a pass-through query >or an ADODB result-set. Ordinary queries or DAO results set will not >work. > >Also, how are you passing the "array_entry?" If you are actually >passing an array to a pass-through query, it might not work. I >haven't tried it so I don't know, but I would expect it to. If your >using pass-through queries, it would be better to pass a comma >delimited string to a query like: > >Select * from table where 1000 =3D ANY( string_to_array( "1,2,3,4,5,6",","= )); > >Although, it seems that and ADODB command can have arrary parameters. >Which could return a result set directly from an array. Notice: >http://msdn.microsoft.com/en-us/library/ms675318%28v=3Dvs.85%29.aspx > >Does that help? > >--=20 >Regards, >Richard Broersma Jr. > >--=20 >Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) >To make changes to your subscription: >http://www.postgresql.org/mailpref/pgsql-odbc