Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graph needs to use multiple parameters for next report

Status
Not open for further replies.

shoensr

Programmer
Mar 8, 2002
2
US
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
 
Have you tried putting your drilldown link in a header or footer? This might allow you to store the values you wish to retain. eSearing.com
a work in progress
 
hi.. I've had several problems with drilling down trying to pass values from a htmlform... so here's what I discovered.. if you put them in the data statement...
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
 
hi.. I've had several problems with drilling down trying to pass values from a htmlform... so here's what I discovered.. if you put them in the data statement...
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top