Date filter

tobarichtobarich Member Posts: 33
Hi: I'm trying to set a filter to the Sales Invoice Header table using the Posting Date field:
l_date := 071508D;
          l_recSalesInvoice.SETFILTER("Posting Date",'>= %1',l_date));

when I try to compile this code an error appear telling that there is a sintax error. I don't know why.
If someone knows what is wrong, or another way to filter by a Date field please let me know.

Thanks

Comments

  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    Double brackets at the end.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • tobarichtobarich Member Posts: 33
    :oops: I think i need to sleep more. Thank you.
Sign In or Register to comment.