In my Delphi 10.3 app using RB 21 Build 170 I have set a Pipeline to visible is false but still prints data. If I card code ir or untick Visible in the pipeline it's ignore. Is there a better way to do this ?
Setting the visibility of a DataPipeline does not disconnect it from data. It will only hide the pipeline from the DataTree and Report Data window when designing a report.
If you would like to disconnect a report from data, you could:
- Clear the Report.DataPipeline property: Report.DataPipeline := nil; - Clear the DataPipeline.DataSource property. - Alter the original query to return no data. - etc.
Comments
Setting the visibility of a DataPipeline does not disconnect it from data. It will only hide the pipeline from the DataTree and Report Data window when designing a report.
If you would like to disconnect a report from data, you could:
- Clear the Report.DataPipeline property: Report.DataPipeline := nil;
- Clear the DataPipeline.DataSource property.
- Alter the original query to return no data.
- etc.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com