Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: ODBC-update problem with Jet-Engine and null values

Re: ODBC-update problem with Jet-Engine and null values

From: Luca Minudel <luca.minudel_at_nline.it>
Date: 1998/03/21
Message-ID: <01bd5504$51350020$0100007f@w95luca>#1/1

I had the same problem using RDO/ODBC (Win95 - PO7 - VB5 SP3 - MS ODBC Driver for Oracle 2.00).
I still haven't found a solution, just a work-arround: I requery the resultset (recordset for DAO) after any AddNew. After requery I can also read default values in columns user let empty.

HTH

                                                   
 Luca Minudel                    software designer
 Italy                             Conegliano (TV)
 voice & fax                     +39 (0)438 412280
 e-mail                      luca.minudel_at_nline.it
 WWW                       (italian language used)
 http://www.geocities.com/SiliconValley/Vista/4041

Loy&Hutz <loyhutz_at_freiburg.netsurf.de> scritto nell'articolo <01bd4c30$2483cac0$60edc3c2_at_kom>...
>
> My problem again, but now more specific:
>
> I get the error message 'data changed by another user' (visual
 basic-error
> 3197) when I try to update or delete a row in oracle tables (primary
 key
> exists, all columns are character-type) with the .update or .delete
 method
> in vb4 (16-bit) or directly in a linked access (2.0 / 97) table .
>
> After searching a long time for the reason, now I have detected
 following
> reason:
>
> In the ODBC-trace file I detected, that the Jet-Engine makes the
 update /
> delete with a where clause, where all columns are listed, although the
> engine knows the primaery key !!!
>
> "UPDATE TEST1.T STATUS SET F1=? WHERE F2 = ? AND F1 = ? AND F3

Received on Sat Mar 21 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US