pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: nobody <nobody@nowhere.near.here>
To: pgsql-odbc@postgresql.org
Subject: Re: access and postgresql
Date: Fri, 5 Dec 2003 17:59:42 -0000
Message-ID: <bqqh2a$2na9$1@news.hub.org> (raw)
References: <004901c3ba2a$66fb8be0$6937a8c0@cepex.com>

Could not you open the recordset with a specific WHERE condition in it?
:
db.OpenRecordset("SELECT * FROM maquina WHERE <your condition comes here>"

This way it would only pull the record(s) satysfying the WHERE condition.
Also, the SQL can be generated programatically before db.OpenRecordset().

""Sezmillenium"" <sezmillenium@yahoo.es> wrote in message
news:004901c3ba2a$66fb8be0$6937a8c0@cepex.com...
Hi all,
    I read your article "Using Microsoft Access with PostgreSQL" in
http://techdocs.postgresql.org/v2/Guides/Using%20Microsoft%20Access%20with%20PostgreSQL/ .

    I am interested to convert access database to postgresql and I must use
access to front view because I have a visual basic application. I tryed few
months ago and I have a problem with seek function. You can see the code
below:

Set maquina = bd.OpenRecordset("maquina")
maquina.index = "primarykey"
maquina.Seek "=", OF

    With ODBC connection don't accept seek, because is a function that only
works with access (is Jet connector). I didn't find a solution because I
cannot change all code. Do you know something???

Thanks
SERGI





view thread (11+ messages)  latest in thread

Message-ID: <bqqh2a$2na9$1@news.hub.org>
Permalink:  ../bqqh2a$2na9$1@news.hub.org/
Also on:    postgresql.org/message-id/bqqh2a$2na9$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: nobody@nowhere.near.here
  Subject: Re: access and postgresql
  In-Reply-To: <bqqh2a$2na9$1@news.hub.org>
  References: <004901c3ba2a$66fb8be0$6937a8c0@cepex.com> <bqqh2a$2na9$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox