Tech Tutorials Database
GeekArticles Programming Delphi
 

Deleting Dataset Records In a Loop - Poll Results - Why All Records Are Not Deleted

 
Author: delphi.about.com
Category: Delphi
Comments (0)

in <a :: Several days ago posted a <a asking how many records (in %) would get deleted in a loop like: <pre><code> <b>var</b> ds : TSomeDataSet <b>begin</b> ds.First; <b>while</b> <b>NOT</b> ds.Eof <b>do</b> <b>begin</b> <b>if</b> TRUE <b>then</b> ds.Delete; ds.Next; <b>end</b>; <b>end</b>; </code></pre>...<p><a Full Post</a></p>

Read More...




Sponsored Links




Read Next: Force TListView's Edit Mode using a Keyboard Shortcut



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe