Parametrs
Hi,
I have this expression in the report
[UpperCase([parametrName])]
And on version 2018.2.1 it worked.
But on the 2018.3 version I get such an error message:
System.ObjectDisposedException: Cannot access a closed Stream
w System.IO.__Error.StreamIsClosed()
w System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
w System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
w System.IO.StreamWriter.Dispose(Boolean disposing)
w System.IO.TextWriter.Dispose()
w FastReport.RichObject.CalculateExpressions()
w FastReport.RichObject.GetData()
w FastReport.BandBase.GetData()
w FastReport.Engine.ReportEngine.PrepareBand(BandBase band, Boolean getData)
w FastReport.Engine.ReportEngine.ShowBandToPreparedPages(BandBase band, Boolean getData)
w FastReport.Engine.ReportEngine.ShowBand(BandBase band, Boolean getData)
w FastReport.Engine.ReportEngine.ShowBand(BandBase band)
w FastReport.Engine.ReportEngine.ShowDataBand(DataBand dataBand, Int32 rowCount)
w FastReport.Engine.ReportEngine.RunDataBand(DataBand dataBand, Int32 rowCount, Boolean keepFirstRow, Boolean keepLastRow)
w FastReport.Engine.ReportEngine.RunDataBand(DataBand dataBand)
w FastReport.Engine.ReportEngine.RunBands(BandCollection bands)
w FastReport.Engine.ReportEngine.RunReportPage(ReportPage page)
w FastReport.Engine.ReportEngine.RunReportPages()
w FastReport.Engine.ReportEngine.RunReportPages(ReportPage page)
w FastReport.Engine.ReportEngine.Run(Boolean runDialogs, Boolean append, Boolean resetDataState, ReportPage page)
w FastReport.Engine.ReportEngine.Run(Boolean runDialogs, Boolean append, Boolean resetDataState)
w FastReport.Report.Prepare(Boolean append)
w FastReport.Report.Prepare()
Error in only in RichObject
I have this expression in the report
[UpperCase([parametrName])]
And on version 2018.2.1 it worked.
But on the 2018.3 version I get such an error message:
System.ObjectDisposedException: Cannot access a closed Stream
w System.IO.__Error.StreamIsClosed()
w System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
w System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
w System.IO.StreamWriter.Dispose(Boolean disposing)
w System.IO.TextWriter.Dispose()
w FastReport.RichObject.CalculateExpressions()
w FastReport.RichObject.GetData()
w FastReport.BandBase.GetData()
w FastReport.Engine.ReportEngine.PrepareBand(BandBase band, Boolean getData)
w FastReport.Engine.ReportEngine.ShowBandToPreparedPages(BandBase band, Boolean getData)
w FastReport.Engine.ReportEngine.ShowBand(BandBase band, Boolean getData)
w FastReport.Engine.ReportEngine.ShowBand(BandBase band)
w FastReport.Engine.ReportEngine.ShowDataBand(DataBand dataBand, Int32 rowCount)
w FastReport.Engine.ReportEngine.RunDataBand(DataBand dataBand, Int32 rowCount, Boolean keepFirstRow, Boolean keepLastRow)
w FastReport.Engine.ReportEngine.RunDataBand(DataBand dataBand)
w FastReport.Engine.ReportEngine.RunBands(BandCollection bands)
w FastReport.Engine.ReportEngine.RunReportPage(ReportPage page)
w FastReport.Engine.ReportEngine.RunReportPages()
w FastReport.Engine.ReportEngine.RunReportPages(ReportPage page)
w FastReport.Engine.ReportEngine.Run(Boolean runDialogs, Boolean append, Boolean resetDataState, ReportPage page)
w FastReport.Engine.ReportEngine.Run(Boolean runDialogs, Boolean append, Boolean resetDataState)
w FastReport.Report.Prepare(Boolean append)
w FastReport.Report.Prepare()
Error in only in RichObject
Comments