Double Pass - Inner Exception startIndex
Hi,
if use double pass and I click the preview button in design occurs the following exception, even if the report is empty, but I only bind the data to DataBand
Inner Exception Exceptions thrown by the target of an invocation.
can not be greater than the length of the string.
Parameter Name startIndex
in System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
in FastReport.Functions.StdFunctions.Substring(String s, Int32 startIndex)
in FastReport.ReportScript.CalcExpression(String expression, Variant Value)
in System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
in System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
in System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
in C9KRqBAoAnQdPRbaUo.SHtKCc8Gt5l9PYaJLP.ud5aHtqYo(Object[] )
in UdEf8CxjrLm0bJBnOF.gN5JyZfkryXx2aYkjQ.cmSVXQKty(String , Variant )
in FastReport.Report.CalcExpression(String expression, Variant value)
in FastReport.Report.Calc(String expression, Variant value)
in FastReport.Report.Calc(String expression)
in FastReport.TextObject.GetData()
in FastReport.Table.TableCell.GetData()
in FastReport.Table.TableObject.GetData()
in FastReport.BandBase.GetData()
in FastReport.Engine.ReportEngine.6uYKggFID(BandBase , Boolean )
in FastReport.Engine.ReportEngine.Dl8uqVJYJ(BandBase , Boolean )
in FastReport.Engine.ReportEngine.WQUioKD7F(BandBase , Boolean )
in FastReport.Engine.ReportEngine.4haaglcjHn()
in FastReport.Engine.ReportEngine.gcJaFL0vwd()
in FastReport.Engine.ReportEngine.KS4apFfObR(ReportPage )
in FastReport.Engine.ReportEngine.vXma3TmmEG()
in FastReport.Engine.ReportEngine.cVp748eu2(ReportPage )
in FastReport.Engine.ReportEngine.y65sUN1P2(Boolean , Boolean , ReportPage )
in FastReport.Engine.ReportEngine.7cJfboKQL(Boolean , Boolean )
in FastReport.Report.Prepare(Boolean append)
in FastReport.Report.Prepare()
in UufrJrgi416GROokvfw.CJMO4rgUZoDP1fYvaIZ.6DiNVHndQ()
if use double pass and I click the preview button in design occurs the following exception, even if the report is empty, but I only bind the data to DataBand
Inner Exception Exceptions thrown by the target of an invocation.
can not be greater than the length of the string.
Parameter Name startIndex
in System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
in FastReport.Functions.StdFunctions.Substring(String s, Int32 startIndex)
in FastReport.ReportScript.CalcExpression(String expression, Variant Value)
in System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
in System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
in System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
in C9KRqBAoAnQdPRbaUo.SHtKCc8Gt5l9PYaJLP.ud5aHtqYo(Object[] )
in UdEf8CxjrLm0bJBnOF.gN5JyZfkryXx2aYkjQ.cmSVXQKty(String , Variant )
in FastReport.Report.CalcExpression(String expression, Variant value)
in FastReport.Report.Calc(String expression, Variant value)
in FastReport.Report.Calc(String expression)
in FastReport.TextObject.GetData()
in FastReport.Table.TableCell.GetData()
in FastReport.Table.TableObject.GetData()
in FastReport.BandBase.GetData()
in FastReport.Engine.ReportEngine.6uYKggFID(BandBase , Boolean )
in FastReport.Engine.ReportEngine.Dl8uqVJYJ(BandBase , Boolean )
in FastReport.Engine.ReportEngine.WQUioKD7F(BandBase , Boolean )
in FastReport.Engine.ReportEngine.4haaglcjHn()
in FastReport.Engine.ReportEngine.gcJaFL0vwd()
in FastReport.Engine.ReportEngine.KS4apFfObR(ReportPage )
in FastReport.Engine.ReportEngine.vXma3TmmEG()
in FastReport.Engine.ReportEngine.cVp748eu2(ReportPage )
in FastReport.Engine.ReportEngine.y65sUN1P2(Boolean , Boolean , ReportPage )
in FastReport.Engine.ReportEngine.7cJfboKQL(Boolean , Boolean )
in FastReport.Report.Prepare(Boolean append)
in FastReport.Report.Prepare()
in UufrJrgi416GROokvfw.CJMO4rgUZoDP1fYvaIZ.6DiNVHndQ()
Comments
Could you send me your report file?