From: Geoffrey Clements <geoff@electron.me.uk>
To: pgsql-odbc@postgresql.org
Subject: Problem inserting with remote views in vfp
Date: Fri, 21 Apr 2006 22:28:55 +0100
Message-ID: <200604212228.55600.geoff@electron.me.uk> (raw)
I'm in the process of converting a Visual FoxPro application from using local
tables to using a postgresql backend on a Debian box with psqlODBC on Windows
Xp.
I've set up the database server with the necessary tables containing test data
and using a remote view in VFP I can browse and update data. However when I
insert a row into the view and try to commit the change to the server I get
an error message saying that the null value for the primary key conflicts
with the non-null constraint, however the data that I am inserting is
non-null for the primary key.
Any help would be appreciated as I've run out of ideas on how to fix this.
--
Geoff Registered Linux user 196308
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: geoff@electron.me.uk
Subject: Re: Problem inserting with remote views in vfp
In-Reply-To: <200604212228.55600.geoff@electron.me.uk>
References: <200604212228.55600.geoff@electron.me.uk>
* 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