Hello all. I am new at this and I would like to try and figure out how to run this for current day - 1. I have begindate and enddate which forces the user to input dates, but I am just looking at grab everything for the prev business date. I am using Report Assistant, is there a Parameter I can use in the Selection Criteria to do this? I know there is tons of information about Date/Time, but I am having a hard time finding anything with Report Assistant.
Thanks
-* HTML Tool
-* Created by Report Assistant
-* FF Line do not change this line! Field Name
-* FF Line do not change this line! Alias
-* FF Line do not change this line! Format
-* FF Line do not change this line! Segment
-* FF Line do not change this line! displayTree=0
-* J001 J001
JOIN
TRACKING.TRACKING.PROBLEM
IN TRACKING
TO MULTIPLE PROBLEMDEFS.PROBLEMDEFS.PROBLEMDEF
IN PROBLEMDEFS TAG J001
AS J001
END
TABLE FILE TRACKING
SUM MAX.TRACKING.TRACKING.DATEENTERED AS 'DATEENTERED'
BY TRACKING.TRACKING.SERVER
BY TRACKING.TRACKING.LOCATIONID
BY TRACKING.TRACKING.BUSINESSDATE
BY TRACKING.TRACKING.STORENUMBER AS 'SITE_NUM'
BY TRACKING.TRACKING.PROBLEM
BY J001.PROBLEMDEFS.PROBLEMDESC
WHERE (TRACKING.TRACKING.PROBLEM EQ '32'
OR '64'
OR '128'
OR '256')
AND (TRACKING.TRACKING.BUSINESSDATE EQ DT(&begindate)
OR DT(&enddate));
ON TABLE SET STYLE *
TYPE=REPORT,
GRID=OFF,
$
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE NOTOTAL
END
-* End Report Assistant
WebFOCUS 8.1.05