Article View: borland.public.jbuilder.database
Article #232Re: Still keeps the rows after close/open or refresh with InterBase
From: John Moore (TeamB)
Date: Wed, 09 Aug 2006 18:05
Date: Wed, 09 Aug 2006 18:05
30 lines
1905 bytes
1905 bytes
Mehmet F. Erten wrote: > I use a work file: a table defined to open/insert but never save. > I migrated from JDataStore into InterBase now refresh or close/open does not > get rid off the current rows from the table. > If anyone knows why? To the best of my knowledge it never did... (and I sure hope it never does or it will break a LOT of my code..<G>) Before you close the dataset issue dataset.cancel(); This should remove all "non-saved" records from that dataset.. > Thanks. > > For now I will check the rowCount after the refresh or open to delete. > > > -- ============================================= TeamB are volunteer helpers. Please DO NOT REPLY VIA EMAIL! Post all questions and replies to this newsgroup ONLY For papers on DataExpress, Applets, JSP, and Web Development go to: http://www.microps.com/mps/paperFAQ.html ====================================================
Technical Details
Message-ID:
<44da23d6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44d8da2b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,1edbdc0ef701870a X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 09 Aug 2006 11:05:12 -0700 From: "John Moore (TeamB)" <jbm@microps.com> User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.database Subject: Re: Still keeps the rows after close/open or refresh with InterBase References: <44d8da2b$1@newsgroups.borland.com> In-Reply-To: <44d8da2b$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 207.137.13.178 Message-ID: <44da23d6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1155146710 207.137.13.178 (9 Aug 2006 11:05:10 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail