RE: [INTERFACES] Oops. Forgot log and source....

From: "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>
To: "'apollo(at)enigma(dot)net'" <apollo(at)enigma(dot)net>, pgsql-interfaces(at)postgreSQL(dot)org
Subject: RE: [INTERFACES] Oops. Forgot log and source....
Date: 1999-07-16 07:25:27
Message-ID: 1BF7C7482189D211B03F00805F8527F70ED044@S-NATH-EXCH2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Check your recordset to make sure that it's not read only, before you try to
insert. If your query joins across tables, sometimes DAO/RDO/ADO gets
upset. Also, if you don't select all the key columns, and also if your open
options are not correct. The thing is, I'm not sure that this is an
updatable query. It may not be, in which case, you can't open an updatable
cursor on it.

MikeA

Try this...

>> Set OutRS = RemoteDB.OpenRecordset(Stmt$, dbOpenDynaset, 0,
dbOptimistic)
>> Cnt = 0
insert>> Okay = Okay And (OutRS.ReadOnly)
>> If Okay Then
>> Do Until InRS.EOF

Browse pgsql-interfaces by date

  From Date Subject
Next Message Wenhao Meng 1999-07-16 07:36:36
Previous Message Peter Mount 1999-07-16 07:10:45 RE: [INTERFACES] JDBC driver question