How To…Create Report Fields in Code

Question

“How do I dynamically create a report in code based on the fields in a datapipeline?”

Solution

Yes, this is a matter of simply looping through all the fields in the datapipeline(s) and dynamically creating labels/dbTexts for each field in code.

Download: DynamicFields.zip

Sample Delphi code: