🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Urgent help .. Missing records

#5236
From: Gerd
Date: Mon, 25 Jun 2001 09:53
21 lines
1987 bytes
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: <3b370a1a$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

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,28741da16cdabc68,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-06-25 02:59:53 PST
From: "Gerd" <gerd.van.zegbroeck@pimc.be[REMOVE_THIS]>
Sender: "Gerd" <gerd.van.zegbroeck@pimc.be[REMOVE_THIS]>
Reply-To: "Gerd" <gerd.van.zegbroeck@pimc.be[REMOVE_THIS]>
Subject: Urgent help .. Missing records
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 62.58.96.5 62.58.96.5    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3b370a1a$1_2@dnews>
Date: 25 Jun 2001 02:53:30 -0700
X-Trace: dnews 993462810 207.105.83.65 (25 Jun 2001 02:53:30 -0700)
Lines: 22
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