Filtering on a date filter

nbangazanbangaza Member Posts: 30
hi guys,

On a report I am trying to set a filter on the date filter and the posting date...when a user enters the date filter on the Gl Account dataitem i want to be able to filter for all entries that are before the beginning date on the date filter field. i tried the following syntax but it doesnt work

"G/l Entry".SETFILTER("Posting Date",'<%1',"G/L Account"."Date Filter");

Please help

Comments

  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    What about this one...
    "G/L Entry".SETFILTER("Posting Date",'<%1',"G/L Account".GETRANGEMIN("Date Filter"));
    
    "Money is likewise the greatest chance and the greatest scourge of mankind."
Sign In or Register to comment.