×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Graph needs to use multiple parameters for next report

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

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

RE: Graph needs to use multiple parameters for next report

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

RE: Graph needs to use multiple parameters for next report

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

RE: Graph needs to use multiple parameters for next report

sorry about the multiple sends!!! obvioiusly an operator error :)

RE: Graph needs to use multiple parameters for next report

(OP)
Thanks for the tips - it worked!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close