I plan to publish a report that, by default, has as parameter the most recent day. For that I am using two procedures. The first gets the last day with data. This information is used to populate a textbox. The second report takes as a parameter the value of the input textbox.
Because data from both procedures are from the same table, can I do everything in just one procedure? What is the best approach?
What I have right now is something like: Procedure 1
TABLE FILE ABC
PRINT DATE
BY HIGHEST 1 BY DATE
ON TABLE HOLD FORMAT ALPHA AS DATEVAL
END
-RUN
-HTMLFORM BEGIN
!IBI.FIL.DATEVAL;
-HTMLFORM END
This is used is to populate the HTML input textfile. Then the other procedure receives as parameter the value of the input.
Thanks in advanced, Carlos DiasThis message has been edited. Last edited by: Kerry,
WebFOCUS version: 7.6 Linux/Windows HTML, Excel
March 11, 2011, 03:17 PM
Waz
Can't you just combine th two ?
I would suggest having the -HTMLFORM last in the procedure.