Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5E76364FCD7 for ; Sat, 9 Aug 2008 14:32:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 33231-03 for ; Sat, 9 Aug 2008 14:31:56 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from alexis.jtlnet.com (alexis.jtlnet.com [69.36.9.81]) by postgresql.org (Postfix) with ESMTP id D39AB64FCC2 for ; Sat, 9 Aug 2008 14:31:57 -0300 (ADT) Received: from [192.168.10.103] (cpe-075-177-154-079.nc.res.rr.com [::ffff:75.177.154.79]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by alexis.jtlnet.com with esmtp; Sat, 09 Aug 2008 13:24:17 -0400 id 0008BBA6.489DD2C2.000077EF Message-ID: <489DD48A.3090202@dunslane.net> Date: Sat, 09 Aug 2008 13:31:54 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20071019 Fedora/1.0.9-3.fc6 pango-text SeaMonkey/1.0.9 MIME-Version: 1.0 To: oca@mvc.edu.ph CC: pgsql-students@postgresql.org Subject: Re: Problem accessing View in VB6 References: <20080809221516.80lhop5lw04g4oc8@mail.mvc.edu.ph> <489DBBCA.3040303@dunslane.net> <20080810002202.pj97hcciokowcw8o@mail.mvc.edu.ph> In-Reply-To: <20080810002202.pj97hcciokowcw8o@mail.mvc.edu.ph> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/6 X-Sequence-Number: 124 oca@mvc.edu.ph wrote: > > > Thank you, that does the job, but i guess i have to use lowercases for > my views names. > > I don't see why. Just use: .Open "SELECT * FROM ""tvwClassSchedules""", dbConn, adOpenDynamic, adLockReadOnly AFAIK that is the way to embed quotes in VB Strings. cheers andrew