🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5255

Re: Urgent help .. Missing records

#5255
From: Arnie Mauer
Date: Tue, 26 Jun 2001 23:12
41 lines
2228 bytes
Try using a TADOConnection::CommitTrans().

-Arnie

"Gerd" <gerd.van.zegbroeck@pimc.be[REMOVE_THIS]> wrote in message
news:3b370a1a$1_2@dnews...
>
> Hello,
>
> I have BCB 5 Enterprise and SQL 7
>
> In my DB i have 2 Tables (Table A & B) with both the same fields (Table B
is for archive purpose)
>
> I have 1 Stored procedure : purpose : move a record from Table A to Table
B
>
> In my BCB project I have a connection object, 2 table objects and a Stored
proc Object. Table B is Read-Only. And I can see the contents of both tables
in a DBGrid for each.
>
> I can add, delete and modify records in Table A, that works. When I use
the stored Proc - the goal is to delete the current Record in table A and
add it to Table B - it works, means the record is deleted from Table A but
is not visible in Table B. ONLY when i close the application and start it
again I can see the record has been added to Table B. Does this mean I
ALWAYS have to close & re-open the connection object in order to see changes
? Surely, this can't be ? All objects i use, use the same session ... (I
have tried, refresh, resync, reopening the table ... but nothing seems to
work ...)
>
> All objects use a client side cursor, locktype is optimistic and cursor
isolation is "ilcursorstability" ...
>
> whar could be wrong here ?????
>
> Thank you for your time !
>
>
> Gerd
>
Technical Details
Message-ID: <3b3916e9$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b370a1a$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,28741da16cdabc68
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-06-26 16:14:34 PST
From: "Arnie Mauer" <arnie@marketexpert.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3b370a1a$1_2@dnews>
Subject: Re: Urgent help .. Missing records
Date: Tue, 26 Jun 2001 19:12:41 -0400
Lines: 43
Organization: VRMS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 24.151.50.11
Message-ID: <3b3916e9$1_2@dnews>
X-Trace: dnews 993597161 24.151.50.11 (26 Jun 2001 16:12:41 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews