Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Deleting Dataset Records In a Loop - Poll Results - Why All Records Are Not Deleted (https://www.delphipraxis.net/166520-deleting-dataset-records-loop-poll-results-why-all-records-not-deleted.html)

DP News-Robot 16. Feb 2012 11:40

Deleting Dataset Records In a Loop - Poll Results - Why All Records Are Not Deleted
 
in Poll :: Several days ago I've posted a poll asking how many records (in %) would get deleted in a loop like: var ds : TSomeDataSet begin ds.First; while NOT ds.Eof do begin if TRUE then ds.Delete; ds.Next; end; end; At the first look you might be tempted to say "all" (or ...http://feeds.feedburner.com/~r/delph...~4/c6X4H0DGGzU

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:38 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz