Contents MDDB Report Viewer Methods Previous Next

_OUTPUT_MAIN_TOOLBAR_FRAME_ Method

Outputs the <FRAME> tag for the toolbar on the Dimensions and Options page

Syntax

 
CALL SEND(OBJID,'_OUTPUT_MAIN_TOOLBAR_FRAME_',url,service-name,
     background-type,graph-type, background-value,
	 analysis-variable,statistic,down-variable,
	 across-variable);

Where... Is Type... And Contains...
url C the broker component of the URL.
service-name C the broker service value.
background-type C the background type (IMAGE or COLOR). This parameter is optional.
graph-type C the graph type (BLOCK, HBAR, PIE, PLOT, VBAR).
background-value C the background value. This parameter is optional.
analysis-variable C the analysis variable that is to be graphed.
statistic C the statistic that is to be graphed.
down-variable C the down variable that is to be graphed.
across-variable C the across variable that is to be graphed.

Example

url='/cgi-bin/broker';
service='default';
grphvar='ACTUAL';
grphstat='SUM';
grphdown='COUNTRY';
grphacr='YEAR';
grphtype='VBAR';
bgtype='COLOR';
bg='YELLOW';
call send(_self_,'_OUTPUT_MAIN_TOOLBAR_FRAME_',url,service,bgtype,grphtype,bg,grphvar,grphstat,
          grphdown,grphacr);  

The following output is produced:

<FRAME NAME="header" SRC="/cgi-bin/broker?_program=sashelp.webeis.header.scl
          &_service=default&_debug=0&mrvdebug=2&mddb=SASHELP.PRDMDDB
          &metabase=SASHELP&D=COUNTRY&AC=YEAR&A=ACTUAL
		  &A1S1=SUM&GRT=VBAR&BGTYPE=COLOR&BG=YELLOW
          &GV=ACTUAL&GS=SUM&GD=COUNTRY&GA=YEAR&DC=1
	      &ACB=1" SCROLLING="NO">

Contents MDDB Report Viewer Methods Previous Next