BIG BUG IN FILTER

hello

create the report in folowing method and you will find the bug

1) create report with group header
2) then apply filter with like clause as alez told me [Table.Item_Name] Like "*gfg*"
3) if your records contain "gfg" in the field item_name then it will apply filter without problem
but if your records doesnot contain "gfg" in the field item_name it will give you this error

FastReport.Net v1.2.69
Object reference not set to an instance of an object.
at FastReport.Engine.ReportEngine.N66s2VofW(OtayoJbejDGqEGMOxjw )
at FastReport.Engine.ReportEngine.meAbPNyvj(GroupHeaderBand )
at FastReport.Engine.ReportEngine.mE6Z9f7VkY(BandCollection )
at FastReport.Engine.ReportEngine.GpqZWakuhk(ReportPage )
at FastReport.Engine.ReportEngine.yjRZ0JSx2A()
at FastReport.Engine.ReportEngine.Phw9t8C70(ReportPage )
at FastReport.Engine.ReportEngine.66BjlRpga(Boolean , Boolean , ReportPage )
at FastReport.Engine.ReportEngine.7RUiPS1R4(Boolean , Boolean )
at FastReport.Report.Prepare(Boolean append)
at FastReport.Report.Prepare()
at kuwxEXbORNWYGgDyPYT.m3cYnEbVyvd4tct5e4W.C3oWi0fOZ()


but if you create report in this manner

1) create report WITHOUT group header
2) then apply filter with like clause as alez told me [Table.Item_Name] Like "*gfg*"
3) if your records contain "gfg" in the field item_name then it will apply filter without problem
and also if your records doesnot contain "gfg" in the field item_name it will just show the empty report WITHOUT ANY ERROR because there are no such records contain "gfg" in the field name Item_name.



CONCLUSION :- IF YOU APPLY FILTER WITH GROUP HEADER THERE IS ERROR WHEN THERE ARE NO SUCH RECORDS ACCORDING TO YOUR CRITERIA BUT IF YOU DO IT SAME WITHOUT GROUPING YOUR DATA THERE IS NO ERROR AT ALL



with regards
kutbi nahar

Comments

  • edited 11:50PM
    Hello,

    I will fix this in the next daily build.
  • edited 11:50PM
    AlexTZ wrote: »
    Hello,

    I will fix this in the next daily build.


    alex really what i like the most in fast report is :

    FAST RESPONSE
    FAST REPORT
    FAST SUPPORT


    All other companies REALLY SHOULD TAKE TUITIONS FROM FR !!!!
  • edited 11:50PM
    Alex did you fixed that bug in 1.2.75 the latest version ??
  • edited 11:50PM
    Yes, it was fixed yesterday.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.