_DISPLAY_DOWNVAR_CELL_ Method

Displays the down dimension

Syntax

CALL SEND(OBJID,'_DISPLAY_DOWNVAR_CELL_',row-list,vrflag, analysis-variable,
statistic-variable,down-variable, across-variable,_url,_argument-string,_argument-string2,
initial-url,service-name,url,background-type, background-value,title,webeis-class,dlflag);

Required Arguments

row-list
the row list from the EMDDB_M class.
Type:Character
vrflag
a flag that indicates that the View Report button was pressed.
Type:Character
analysis-variable
the analysis variable to graph.
Type:Numeric
statistic-variable
the statistic to graph.
Type:Character
down-variable
the down dimension variable to graph.
Type:Character
across-variable
the across dimension variable to graph.
Type:Character
_url
the Web browser component of the URL.
Type:Character
_argument-string
the argument string for the next query.
Type:Character
_argument-string2
the argument string for the next query.
Type:Character
initial-url
the URL of the initial HTML page.
Type:Character
service-name
the Application Broker service.
Type:Character
url
the Application Broker component of the URL.
Type:Character
background-type
the background type (IMAGE or COLOR). This value is optional.
Type:Character
background-value
the background value. This value is optional.
Type:Character
title
the title. This value is optional.
Type:Character
web-class
the WEBEIS class name (for subclassing).
Type:Character
dlflag
a flag that indicates whether to download the table to a spreadsheet.
Type:Numeric

Details

If the user has drilled down, this method displays the down dimension cell with an up arrow. This method
  • calls _GET_CLASS_LABEL_ of the data model to get the cell label
  • outputs the labeled cell with an arrow (if necessary) for drilling up.

Example

call send(emddbmid_,'_GET_CLASS_COMBINATIONS_','ROW',rowlist);
vrflag=1;
grphvar='Actual+Sales';
grphstat='Sum';
grphdown='';
grphacr='PRODTYPE';
_url='/cgi-bin/broker?_PROGRAM=sashelp.webeis.mddbrpts.scl&_SERVICE=default
&_DEBUG=0&RPTTYPE=2&GRTYPE=BLOCK'
_args='&MDDB=PERMDATA.MAPINFO&METABASE=PERMDATA.MB612&DOWN=Geographic&ACROSS
=Product+Line&A=ACTUAL'
_args2 = '&S=SUM&V1=COUNTRY=U.S.A.'
mddblink='http://myserver.com/test.html';
service='default';
url='/cgi-bin/broker';
bgtype='';
bg='';
title='';
webcls='SASHELP.WEBEIS.WEBEIS';
dlflag=0;
call send(webid,'_DISPLAY_DOWNVAR_CELL_',rowlist,vrflag,grphvar,
   grphstat,grphdown,grphacr,_url,_args,_args2,mddblink,service,url,
   bgtype,bg,title,webcls,dlflag);
This example produces the following output:
<TR><TH CLASS="rowlab">State/Province</TH><TH CLASS=collab"><A
HREF="/cgi-bin/broker?_PROGRAM=sashelp.webeis.mddbrpts.scl&_SERVICE=default
&_DEBUG=0&RPTTYPE=2&GRTYPE=BLOCK&MDDB=PERMDATA.MAPINFO&METABASE=PERMDATA.MB612
&DOWN=Geographic&ACROSS=Product+Line&A=ACTUAL&S=SUM&GVAR=Actual+Sales&GSTAT=Sum
&GACR=PRODTYPE&GLINK=1&DRUP=1&_MDLINK=http://myserver-com/test.html
&CLASS=SASHELP.WEBEIS.WEBEIS" TARGET="_TOP"><IMG
SRC="/myimages/up.gif BORDER=0 ALT="UP"></A></TH>