Graph needs to use multiple parameters for next report
Graph needs to use multiple parameters for next report
(OP)
I have a report that drills down to a graph using parameters. Once the graph displays, I'd like to drill down to another report. The problem is that with graphs, the only fields available for the parameters of the next drill down are the fields used in the graph. I'd like to continue to use the parameters that were passed into the graph for the next drill down. Anyone know how? Thanks
RE: Graph needs to use multiple parameters for next report
eSearing.com
a work in progress
RE: Graph needs to use multiple parameters for next report
It was a real pain to figure out but the slash characters are continuations, so set all variables you need so you can effectively create an equivilant set of variables in the new report request... in first fex and then pass them all to your drill down fex using the data=
Here's an example of my code:
TABLE FILE A050
WRITE PRINTFIELD
BY SORTFIELD
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
TYPE=HEADING,FONT=ARIAL,SIZE=15,COLOR=NAVY,$
TYPE=DATA, COLUMN=N1, TARGET=_BLANK,
FOCEXEC=CASSRCH1(COMPONENT=N1 CAS=N2 \
REVIEWNUM='&REVIEWNUM' \
FILFOOT ='&FILFOOT'\
CHEMINPUT='&CHEMINPUT' \
NICKNAME ='&NICKNAME' \
YSDATE ='&YSDATE' YEDATE ='&YEDATE' \
RSDATE ='&RSDATE' REDATE ='&REDATE' \
USERID ='&USERID' SYSTEM ='&SYSTEM'),$
TYPE=TITLE, COLUMN=N1, FONT='ARIAL', SIZE=15, COLOR=NAVY, STYLE=BOLD, $
ENDSTYLE
END
RE: Graph needs to use multiple parameters for next report
It was a real pain to figure out but the slash characters are continuations, so set all variables you need so you can effectively create an equivilant set of variables in the new report request... in first fex and then pass them all to your drill down fex using the type=data
Here's an example of my code:
TABLE FILE A050
WRITE PRINTFIELD
BY SORTFIELD
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
TYPE=HEADING,FONT=ARIAL,SIZE=15,COLOR=NAVY,$
TYPE=DATA, COLUMN=N1, TARGET=_BLANK,
FOCEXEC=CASSRCH1(COMPONENT=N1 CAS=N2 \
REVIEWNUM='&REVIEWNUM' \
FILFOOT ='&FILFOOT'\
CHEMINPUT='&CHEMINPUT' \
NICKNAME ='&NICKNAME' \
YSDATE ='&YSDATE' YEDATE ='&YEDATE' \
RSDATE ='&RSDATE' REDATE ='&REDATE' \
USERID ='&USERID' SYSTEM ='&SYSTEM'),$
TYPE=TITLE, COLUMN=N1, FONT='ARIAL', SIZE=15, COLOR=NAVY, STYLE=BOLD, $
ENDSTYLE
END
RE: Graph needs to use multiple parameters for next report
RE: Graph needs to use multiple parameters for next report