Is it possible to use a TStringList where a filename was needed in reportbuilder
-
29-04-2021 - |
Pergunta
I connect to a webservice to get data for our reports. After retrieval I save the data as a CSV file using Tstringlists's SaveToFile method and the pass this filename to the TppTextPipeline from ReportBuilder.
I would love if instead I just, somehow, told report builder to use the TStringList diretcly savign me a physical file to manage.
Solução
You could probably use a memory stream (TStrings.SavetoStream) and a TppJITPipeline instead of a TppTextPipeline.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow