Answer the question
In order to leave comments, you need to log in
FastReport.NET Error in Format expression?
Hello. There is a line in the *.frx report file
<TextObject Name="Text1" Width="614.25" Height="28.35" Text="[Format("{0:dd.MM.yyyy}",[InvoiceDate])]" Font="Arial, 14pt"/>
protected void ExportReport(
string reportPath, ExportBase exportBase, Action<Report> setParameters, Stream streamImport)
{
var reprotStream = GetReportStream(reportPath);
using (var report = new Report())
{
report.Load(reprotStream);
setParameters(report);
report.Prepare();
report.Export(exportBase, streamImport);
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question