RE: dataset fields vs. pipeline fields
Let's say that I have a report that is based on the contents of a single
ADODataset that is the results of some query against my database. Let's
further assume that I have created persistent field objects for each of the
fields in the aforementioned dataset. If I have logic in some events (like
OnCalc events for variable fields, for example) that reference these fields,
is there something "wrong" with going against these field objects. Should I
instead be getting at these fields through the pipeline? What's the
difference?
ADODataset that is the results of some query against my database. Let's
further assume that I have created persistent field objects for each of the
fields in the aforementioned dataset. If I have logic in some events (like
OnCalc events for variable fields, for example) that reference these fields,
is there something "wrong" with going against these field objects. Should I
instead be getting at these fields through the pipeline? What's the
difference?
This discussion has been closed.
Comments
bracket notation ( plOrders['AmountPaid'] ) to get the field value from the
datapipeline was developed for RAP, though it works perfectly well in Delphi
event handlers too.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com