I want to run a report without using the request window but the report has two dataitems and I need to set filter for the second dataitems. How can I set filters for the second dataitem at runtime?
Put the filter into the trigger OnPreDataItem()
use tablename.SetFilter(tablename.field, 'filtercriteria')
or tablename.SetRange(tablename.field, from, to)
Comments
use
tablename.SetFilter(tablename.field, 'filtercriteria')
or
tablename.SetRange(tablename.field, from, to)