From: JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>
To: 'pgsql-sql@hub.org' <pgsql-sql@hub.org>
Subject: select nextval. . .
Date: Wed, 26 May 1999 13:49:12 -0400
Message-ID: <01BEA77E.89E72F60.jt-kirkpatrick@mpsllc.com> (raw)
i am connecting to a postgres 6.4.2 database with msaccess97. in that
postgres database i have a sequence defined. in access i have a form, with
only one textbox -- when i open that form i'd like to populate that textbox
with the next value in that sequence. i can get the next value from psql
(select nextval('sequencename');), but i can't seem to figure out how to
get that nextval from within access97 into a control on a form. i can
design a pass-through query that inserts the nextval into a database, but
that isn't what i want to do (it also exposes some risk of non-uniqueness
that the sequence helps to ensure). got any ideas??
jt
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-sql@postgresql.org
Cc: jt-kirkpatrick@mpsllc.com, pgsql-sql@hub.org
Subject: Re: select nextval. . .
In-Reply-To: <01BEA77E.89E72F60.jt-kirkpatrick@mpsllc.com>
References: <01BEA77E.89E72F60.jt-kirkpatrick@mpsllc.com>
* 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