Hi Guys,
I have a report with a dataitem 'Table1' in OnPredataItem Before do a Table1.SETFILTER i use the Table1.SETCURRENTKEY(key).
But If i use SETCURRENTKEY the filter is not correct and exctract only 2 records else without the instruction the filter work.
I Don't understand why the filter doesn't work .
Thanks
0
Comments
check whether you have any filter on DataItemTableView property..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
testTable.SETFILTER(testTable.Date,'%1..%2',Data1,Date2);
Is testTable a variable or Dataitem only?
If it is dataitem ,the code seems ok to me..
Are you sure the data filtered is wrong?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I think that the problem is the filter on DateTime 000000T..235900T.