pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: ODBC and VB5 I GIVE UP!!
2+ messages / 2 participants
[nested] [flat]
* Re: ODBC and VB5 I GIVE UP!!
@ 2000-05-02 18:43 Craig Orsinger <orsingerc@epg-gw1.lewis.army.mil>
0 siblings, 0 replies; 2+ messages in thread
From: Craig Orsinger @ 2000-05-02 18:43 UTC (permalink / raw)
To: pgsql-interfaces; +Cc: Eric Damron <edamron@home.com>
On 30-Apr-00 Moray McConnachie wrote:
>>I can create, edit, update tables using ipgsql.exe And I can create a
>>recordset and read records from VB but when I try to add a new record or
>>update a record I get the message "Run time error '3027' Can't Update.
>>Database or Object is Read Only."
>
> What does your postgres table look like? You won't be able to add, update
> or delete records from VB unless you have some kind of unique field
> defined, either via CREATE UNIQUE INDEX, or PRIMARY KEY in the field
> definition, or by using Show OID and Fake index in the ODBC driver, but I
> wouldn't particularly advise the latter.
>
> You should also have Recognise Unique Indexes turned on in the ODBC driver.
>
> I think that may be it, anyway.
So, was that it? I'm curious because I'm trying to learn how
to do this also.
----------------------------------
Date: 02-May-00 Time: 11:41:10
Craig Orsinger (email: <orsingerc@epg-gw1.lewis.army.mil>)
Logicon Advanced Technology
Bldg. 8B28 "Just another megalomaniac with ideas above his
6th & F Streets station. The Universe is full of them."
Ft. Lewis, WA 98433 - The Doctor
----------------------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
* RE: ODBC and VB5 I GIVE UP!!
@ 2000-05-02 19:44 Nicolas Huillard <nhuillard@ghs.fr>
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Huillard @ 2000-05-02 19:44 UTC (permalink / raw)
To: 'Craig Orsinger' <orsingerc@epg-gw1.lewis.army.mil>; pgsql-interfaces; +Cc: Eric Damron <edamron@home.com>
Read my post a few month (weeks ?) ago, about cursors : maybe you should use static cursors or I-don't-remember-exactly-what-type, instead of the default cursor, which is not handled correctly by the ODBC driver.
Nicolas Huillard
-----Message d'origine-----
De: Craig Orsinger [SMTP:orsingerc@epg-gw1.lewis.army.mil]
Date: mardi 2 mai 2000 20:43
À: pgsql-interfaces@postgresql.org
Cc: Eric Damron
Objet: Re: [INTERFACES] ODBC and VB5 I GIVE UP!!
On 30-Apr-00 Moray McConnachie wrote:
>>I can create, edit, update tables using ipgsql.exe And I can create a
>>recordset and read records from VB but when I try to add a new record or
>>update a record I get the message "Run time error '3027' Can't Update.
>>Database or Object is Read Only."
>
> What does your postgres table look like? You won't be able to add, update
> or delete records from VB unless you have some kind of unique field
> defined, either via CREATE UNIQUE INDEX, or PRIMARY KEY in the field
> definition, or by using Show OID and Fake index in the ODBC driver, but I
> wouldn't particularly advise the latter.
>
> You should also have Recognise Unique Indexes turned on in the ODBC driver.
>
> I think that may be it, anyway.
So, was that it? I'm curious because I'm trying to learn how
to do this also.
----------------------------------
Date: 02-May-00 Time: 11:41:10
Craig Orsinger (email: <orsingerc@epg-gw1.lewis.army.mil>)
Logicon Advanced Technology
Bldg. 8B28 "Just another megalomaniac with ideas above his
6th & F Streets station. The Universe is full of them."
Ft. Lewis, WA 98433 - The Doctor
----------------------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-05-02 19:44 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-05-02 18:43 Re: ODBC and VB5 I GIVE UP!! Craig Orsinger <orsingerc@epg-gw1.lewis.army.mil>
2000-05-02 19:44 RE: ODBC and VB5 I GIVE UP!! Nicolas Huillard <nhuillard@ghs.fr>
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