A little trick with iterating DB query results using "for row in query do" syntax
A little trick with iterating DB query results using "for row in query do" syntax
article is originally in russian, but you can take a look at the first and the last code snippets
http://teran.karelia.pro/articles/item_6334.html
article is originally in russian, but you can take a look at the first and the last code snippets
http://teran.karelia.pro/articles/item_6334.html
Neat!
ReplyDeleteI wrote my own as an exercise when coming back to Delphi. It makes it considerably more straight forward if you have some row skipping conditions or similar.
ReplyDelete