Occasionally a report will report "No Records Found" and from that point all
reports report no records found until the application is exited and restarted.
The database is MSSQL, unfortunately I am unable to recreate the problem on
demand, so I was wondering if anyone else has seen this and knows the cause and
solution.
I believe I am using v3.36
Thanks
Gordon
|
Hi Oleg,
I resolved the problem by adding a CLOSE(%ListView) line into the relevant
section of frbc.tpl, as below. It does not appear to cause any adverse effects
and resolves the "No Records Found" issue. If you think this is a bad idea
please let me know.
#AT(%RunTimeReportMethodDataSection,'OpenFRBView','()')
#FIX(%File,%Primary)
#FIX(%Driver,%FileDriver)
#IF(%DriverSQL = 1)
FilterSQL BYTE
#ENDIF
#ENDAT
#!
#AT(%RunTimeReportMethodCodeSection,'OpenFRBView','()')
#EMBED(%BeforeSetViewFilter,'Before Set View Filter')
CLOSE(%ListView)
%ListView{Prop:Order} = SELF.Order
|