space
Previous Page | Next Page

MDDB Report Viewer 9.2

_OUTPUT_ROTATE_BUTTON_ Method

Outputs the Rotate button for the two-dimensional report

This method outputs an HTML form that contains hidden fields that are necessary to process the rotate request and output the Rotate submit button.

Syntax

 
CALL SEND(OBJID,'_OUTPUT_ROTATE_BUTTON_',viewreport-flag,url,
      service,initial-url,across-variable,down-variable,
      analysis-variable,statistic-variable,down-variable,
      graph-type,background-type,background-value,title,
      webeis-class,hideflag);
The following output is produced:
Where... Is Type... And Contains...
viewreport-flag N the View Report button flag.
url C the broker component of the URL.
service C the Broker service that is being used.
initial-url C the URL of the initial HTML page.
across-variable C the across variable that is selected.
down-variable C the down variable that is selected.
analysis-variable C the analysis variable that is to be graphed.
statistic-variable C the statistic that is to be graphed.
down-variable N the down variable that is to be graphed
graph-type N the selected graph type.
background-type C the background type (IMAGE or COLOR). This parameter is optional.
background-value C the background value. This parameter is optional.
title C the HTML title page.
webeis-class C the WEBEIS class name.
hideflag C a hidden variables flag . If hideflag = 1, variables are not output. This parameter is optional.

Example

The following example illustrates the use of this method:

vrflag=1;
_url='/cgi-bin/broker?_PROGRAM=sashelp.webeis.mddbrpts.scl&_SERVICE=default
&_DEBUG=0&RPTTYPE=2&GRTYPE=BLOCK';
service='default';
mddblink='DYNAMIC';
across='Geographic';
down='Product+Line';
avar='ACTUAL';
stat='SUM';
grphdown='';
grtype='BLOCK';
bgtype='color';
bg='yellow';
title='';
webcls='SASHELP.WEBEIS.WEBEIS';
hideflag='1';
call send(webid,'_OUTPUT_ROTATE_BUTTON_',vrflag,_url,service,
          mddblink,across,down,avar,stat,grphdown,grtype,bgtype,
          bg,title,webcls,hideflag);


The following output is produced:

<A href="../mddbapp.hlp/" onClick="this.href=clsurl('ROTATE=1&_PROGRAM=SASHELP.WEBEIS.SHOWRPT.SCL')" 
 TARGET="_parent"><IMG CLASS="imgrotate" SRC="/my_images/btn_rot.gif" ALT="Rotate" 
 BORDER=0></A>

Previous Page | Next Page | Top of Page