Server Response from: CC1

ID: 25386, for-in-loop with TDataSet

by Uwe Raabe Email: Anonymous


Delphi Magic that lets you iterate over all records in a TDataSet using a for-in-loop and access field values like properties.
Download Details
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 10.5  to 11.0 644 downloads
Copyright: No significant restrictions


Terms of use: Borland use at your own risk disclaimer


Updated on Mon, 31 Dec 2007 09:03:12 GMT
Originally uploaded on Mon, 31 Dec 2007 09:03:08 GMT

   Explore the files in this upload

Description
A unit that enables for-in-loops on TDataSet descendants and enables access to the field values using property-like syntax. Main goal is to make source code more readable.

This is also an example of how new Delphi techniques like enumerators, class helpers and invokable custom variants can be combined to make something useful - at least for some people.

  Latest Comments  View All Add New

 
© Copyright 2008 Embarcadero Technologies, Inc. All Rights Reserved. Contact Us   Legal Notices   Privacy Policy   Report Software Piracy