Hello,
i hv created a report based on cust. ledger entry table. Now I need to set a filter on request page i.e. Posting Date(From Date, To Date) . And also if a user leaves those fields empty then he will get an error msg and does not leave the page. How can I do it..Plz help..!!
0
Answers
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Use This on DateItem OnPreTrigger.
IF (StartDate = 0D) OR (EndDate = 0D) THEN
ERROR();
SETRANGE("Posting Date",Startdate,Enddate)
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/