Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6A006476115 for ; Tue, 10 Sep 2002 00:58:37 -0400 (EDT) Received: from bama.ua.edu (bama.ua.edu [130.160.4.114]) by postgresql.org (Postfix) with ESMTP id A93D6475EB0 for ; Tue, 10 Sep 2002 00:58:36 -0400 (EDT) Received: from redstorm (cba161142.cba.ua.edu [130.160.161.142]) by bama.ua.edu (8.9.3/8.9.3) with SMTP id XAA17613 for ; Mon, 9 Sep 2002 23:58:37 -0500 (CDT) Message-ID: <003b01c25886$43218f50$8ea1a082@redstorm> From: "Vikram Sulakhe" To: Subject: Accessing PGSQL Date: Mon, 9 Sep 2002 23:55:19 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/23 X-Sequence-Number: 1994 Hi! Is there a way to execute a SQL query directly from a Win NT machine, on a pgSQL database that is remotely installed? I tried using CRecordset Object to connect to this remote pgSQL database. But if I have a very large database (say 10,000 records), then searching for a particular record takes lot of time as we need to traverse through all the records in CRecordset. I can use m_strFilter property of CRecordset, but then I have to open the database again and this is also very time consuming process. So I am looking for a quick way to locate a particular record in a collection of say 10,000 records. Is there a work-around for this? Regards, Vikram