Article View: borland.public.cppbuilder.database.ado
Article #5190Re: ADO, DELETE and a GRID
From: Alon Novy
Date: Fri, 29 Jun 2001 09:15
Date: Fri, 29 Jun 2001 09:15
32 lines
1938 bytes
1938 bytes
Hans Are you using the standard db grid that comes with BCB? Alon "Hans Martin Br�ckmann" <HMB@brueckmann-gmbh.de> wrote in message news:3B25D063.759D2FBC@brueckmann-gmbh.de... > Hello to all > > I just made a simple AdoQuery connection to a MS-SQL 7.0 Server. The > table is a primary key indexed autoinc one. Isolation Level is > cursor-stability. CursorLocation is clUseServer. > I also loaded all fields persistent and marked the PK-field as > arAutoInc. The data is shown in a grid and I use the normal > navigatorbuttons. > > Now I do the following steps: > 1. Add a new record by skiping over the last one. Save my changes. > Autoincrement-value is ok. > 2. Delete this record immediately. > > So my grid gets empy! > > I can�t move back to any record, even if I cancel my edit. The only way > I found is to move back via bookmark. > > What is wrong, are there any swichtes wrong ? > > thanks in advance > HMB >
Technical Details
Message-ID:
<3b3c4494_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3B25D063.759D2FBC@brueckmann-gmbh.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,8f335934e73d39d5 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-06-29 02:09:44 PST Reply-To: "Alon Novy" <alon.novy@thinksoftware.com.au> From: "Alon Novy" <alon.novy@thinksoftware.com.au> Newsgroups: borland.public.cppbuilder.database.ado References: <3B25D063.759D2FBC@brueckmann-gmbh.de> Subject: Re: ADO, DELETE and a GRID Date: Fri, 29 Jun 2001 19:15:32 +1000 Lines: 34 Organization: Think Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 203.32.175.13 Message-ID: <3b3c4494_1@dnews> X-Trace: dnews 993805460 203.32.175.13 (29 Jun 2001 02:04:20 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews