Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Guided Adhoc Question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Guided Adhoc Question
 Login/Join
 
Member
posted
How does one alter the column names in a guided ad hoc? I built one, now I want to alter the column titles...I do so and changes are NOT recognized and further my base report somehow comes back with all column titles the same!

Also, how do I tell the guided ad hoc when I want subtotals?

Thanks!

This message has been edited. Last edited by: Kerry,


7702
 
Posts: 19 | Registered: April 03, 2012Report This Post
Member
posted Hide Post
...and renanming the columns before &ing them does not quite do it either...the report comes out ok but upon return tot he procedure, all column are renamed to the first one!!!


HELP!!


7702
 
Posts: 19 | Registered: April 03, 2012Report This Post
Member
posted Hide Post
anyone....guided adhocs look powerfull....are there issues? Are they commonly used? You would think you could change column names...?


7702
 
Posts: 19 | Registered: April 03, 2012Report This Post
Member
posted Hide Post
hello,
Guided Adhoc are mainly used and there is no limitations with them.
if your columns choices are in a listbox, you can enter as a value during the creation : COUNTRY AS 'Pays' and just display Pays.
It's the same if your columns are in dropdown, check bowes...
For subtotal, you can test a variable in order to do or not the subtotal using dialogue Manager like :

-IF &SUBTOTAL1 EQ 'N' GOTO NOSUB1 ;
ON &SORT1 SUBTOTAL AS 'Total'
-NOSUB1

&SORT1 = Sort field 1.


8207, Windows 2016 64b, HTML, AHTML, PDF, EXL07...
 
Posts: 27 | Location: Suresnes | Registered: August 26, 2010Report This Post
Member
posted Hide Post
here is an example : guided1.fex to place into baseapp

-* File dedede.fex
-SET &ECHO=ALL;
-RUN

DEFINE FILE CAR
MARGIN/D12.2=RETAIL_COST- DEALER_COST;
END
TABLE FILE CAR
HEADING
"Subtotal sort 1 : &SORT1"
"Subtotal sort 2 : &SORT2"
SUM
&RP_FN04P_Detail4.(AND(,,,)).Please select detail field(s).
BY &RP_FL01B01_Sort1.(,,,,).Please select sort field(s).
BY &RP_FL02B02_Sort2.(,,,,).Please select sort field(s).
BY &RP_FL03B03_Sort3.(,,,,).Please select sort field(s).

-IF &SORT1 EQ '' THEN GOTO NOSORT1;
ON &RP_FL01B01_Sort1.(,,,,).Please select sort field(s). SUBTOTAL MULTILINES AS 'Total level1'
-NOSORT1
-IF &SORT2 EQ '' THEN GOTO NOSORT2;
ON &RP_FL02B02_Sort2.(,,,,).Please select sort field(s). SUBTOTAL MULTILINES AS 'Total level 2'
-NOSORT2
ON TABLE SET ONFIELD IGNORE
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
ENDSTYLE
END


8207, Windows 2016 64b, HTML, AHTML, PDF, EXL07...
 
Posts: 27 | Location: Suresnes | Registered: August 26, 2010Report This Post
Member
posted Hide Post
HTML page CODE : l_guided1.htm
< !-- Generated by Report Layout Painter -->
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META id=Generation content="Created in release 7703, Generation 3.0">
<script id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}
</SCRIPT>
 
<script id=IBI_OptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls3";
 
var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";
 
var ibixmltree="ibixmltree";
 
var ibiOptions = new Array(cgipath,ibirls);
</SCRIPT>
 
<script id=IBI_nls type=text/javascript src="/ibi_html/javaassist/nls.js"></SCRIPT>
 
<script id=IBI_nlsVars type=text/javascript src="/ibi_html/javaassist/nlsvars.js"></SCRIPT>
 
<script id=IBI_ibigbl type=text/javascript src="/ibi_html/javaassist/ibi/html/js/ibigbl.js"></SCRIPT>
 
<script id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);
addIntlTranslatedJS("composertrans.js");
</SCRIPT>
<TITLE>HtmlPage</TITLE>
<script id=clientEventHandlersJS type=text/javascript>
//Begin function window_onload
function window_onload() {
 
UpdateData();
 
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
 
//Begin function button1_onclick
function button1_onclick(ctrl) {
// TODO: Add your event handler code here
OnExecute(ctrl)
}
//End function button1_onclick
</SCRIPT>
 
<script for=window type=text/javascript eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
</HEAD>
<BODY style="OVERFLOW: auto" nextelementuniquenumber="15" thumbnailscale="4" elementtype="21" edaconnectionrequired="true">
<INPUT style="Z-INDEX: 1; POSITION: absolute; WIDTH: 80px; HEIGHT: 40px; TOP: 60px; LEFT: 750px" id=button1 language=java_script tabIndex=1 onclick=button1_onclick[this) value=Run size=50 type=button autoExecute="false" requests_list="0" name="button1"> 
<SELECT style="Z-INDEX: 6; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 111px; OVERFLOW: visible; TOP: 80px; LEFT: 170px" id=combobox1 tabIndex=5 size=1 defaultselection="1" defaultlocation="0,0,22,91" boundtovariable="1" requiredfield="1" persistentuniqueid="compUid_1" name="combobox1"> 
<OPTION selected value="COUNTRY AS 'Country'" noinput="0" displaytext="Country">Country</OPTION>
<OPTION value="CAR AS 'Car'" noinput="0" displaytext="Car">Car</OPTION>
<OPTION value="MODEL AS 'Modèle'" noinput="0" displaytext="Model">Model</OPTION>
<OPTION value="BODYTYPE AS 'Body Type'" noinput="0" displaytext="Body Type">Body Type</OPTION></SELECT> 
<SELECT style="Z-INDEX: 8; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 111px; OVERFLOW: visible; TOP: 110px; LEFT: 170px" id=combobox2 tabIndex=7 size=1 defaultselection="1" defaultlocation="0,0,22,91" boundtovariable="1" requiredfield="1" persistentuniqueid="compUid_2" name="combobox2"> 
<OPTION selected value=_FOC_NULL noinput="0" displaytext="None">None</OPTION>
<OPTION value="COUNTRY AS 'Country'" noinput="0" displaytext="Country">Country</OPTION>
<OPTION value="CAR AS 'Car'" noinput="0" displaytext="Car">Car</OPTION>
<OPTION value="MODEL AS 'Model'" noinput="0" displaytext="Model">Model</OPTION>
<OPTION value="BODYTYPE AS 'Body Type'" noinput="0" displaytext="Body Type">Body Type</OPTION></SELECT> 
<SELECT style="Z-INDEX: 10; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 111px; OVERFLOW: visible; TOP: 140px; LEFT: 170px" id=combobox3 tabIndex=9 size=1 defaultselection="1" defaultlocation="0,0,22,91" boundtovariable="1" requiredfield="1" persistentuniqueid="compUid_3" name="combobox3"> 
<OPTION selected value=_FOC_NULL noinput="0" displaytext="None">None</OPTION>
<OPTION value="COUNTRY AS 'Country'" noinput="0" displaytext="Country">Country</OPTION>
<OPTION value="CAR AS 'Car'" noinput="0" displaytext="Car">Car</OPTION>
<OPTION value="MODEL AS 'Model'" noinput="0" displaytext="Model">Model</OPTION>
<OPTION value="BODYTYPE AS 'Body Type'" noinput="0" displaytext="Body Type">Body Type</OPTION></SELECT> 
<LABEL style="Z-INDEX: 11; POSITION: absolute; WIDTH: 171px; HEIGHT: 19px; TOP: 55px; CURSOR: default; LEFT: 421px" id=label4 tabIndex=10 for=customselect1>Please select detail field(s)</LABEL> 
<SPAN style="Z-INDEX: 12; POSITION: absolute; WIDTH: 284px; HEIGHT: 85px; TOP: 84px; LEFT: 421px" id=customselect1 tabIndex=11 elementtype="36" defaultselection="1" defaultlocation="0,0,85,284" boundtovariable="1" requiredfield="1" persistentuniqueid="compUid_5" _downbutton="compUid_10" _upbutton="compUid_9" _removebutton="compUid_8" _addbutton="compUid_7" _selectto="compUid_4" _selectfrom="compUid_6" dlistaddevents="1">
<SELECT style="Z-INDEX: 13; POSITION: absolute; HEIGHT: 85px; TOP: 0px; LEFT: 0px" id=customselect1_selectfrom tabIndex=12 multiple size=3 defaultselection="1" persistentuniqueid="compUid_6" name="customselect1_selectfrom">
<OPTION selected value="DEALER_COST AS 'Dealer Cost'" noinput="0" displaytext="Dealer Cost">Dealer Cost</OPTION>
<OPTION value="RETAIL_COST AS 'Retail Cost'" noinput="0" displaytext="Retail Cost">Retail Cost</OPTION>
<OPTION value="SALES AS 'Sales'" noinput="0" displaytext="Sales">Sales</OPTION>
<OPTION value="MARGIN AS 'Margin'" noinput="0" displaytext="Margin">Margin</OPTION></SELECT> 
<INPUT style="Z-INDEX: 14; POSITION: absolute; BACKGROUND-COLOR: lavender; WIDTH: 24px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: center center; HEIGHT: 20px; TOP: 0px; LEFT: 107px" id=customselect1_addbutton tabIndex=13 value=" " type=button persistentuniqueid="compUid_7" StyleBack_rtFileName="htmlpathsub/javaassist/ibi/html/describe/move_right_16.png" name="button3"> 
<INPUT style="Z-INDEX: 15; POSITION: absolute; BACKGROUND-COLOR: lavender; WIDTH: 24px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: center center; HEIGHT: 20px; TOP: 20px; LEFT: 107px" id=customselect1_removebutton tabIndex=14 value=" " type=button persistentuniqueid="compUid_8" StyleBack_rtFileName="htmlpathsub/javaassist/ibi/html/describe/move_left_16.png" name="button4"> 
<SELECT style="Z-INDEX: 16; POSITION: absolute; WIDTH: 97px; HEIGHT: 85px; TOP: 0px; LEFT: 141px" id=customselect1_selectto tabIndex=15 multiple size=3 persistentuniqueid="compUid_4" operation="AND" name="customselect1_selectto"></SELECT> 
<INPUT style="Z-INDEX: 17; POSITION: absolute; BACKGROUND-COLOR: lavender; WIDTH: 24px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: center center; HEIGHT: 20px; TOP: 45px; LEFT: 107px" id=customselect1_upbutton tabIndex=16 onclick='moveSelectedItems["compUid_4", "true")' value=" " type=button persistentuniqueid="compUid_9" StyleBack_rtFileName="htmlpathsub/javaassist/ibi/html/describe/move_up_16.png" buddyuniqueid="compUid_4" name="button5"> 
<INPUT style="Z-INDEX: 18; POSITION: absolute; BACKGROUND-COLOR: lavender; WIDTH: 24px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: center center; HEIGHT: 20px; TOP: 65px; LEFT: 107px" id=customselect1_downbutton tabIndex=17 onclick='moveSelectedItems["compUid_4", "")' value=" " type=button persistentuniqueid="compUid_10" StyleBack_rtFileName="htmlpathsub/javaassist/ibi/html/describe/move_down_16.png" buddyuniqueid="compUid_4" name="button6"></SPAN> 
<SPAN style="Z-INDEX: 20; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 31px; HEIGHT: 20px; OVERFLOW: visible; TOP: 80px; LEFT: 300px" id=checkbox1 tabIndex=19 contentEditable=false elementtype="11" defaultselection="1" defaultlocation="0,0,20,169" boundtovariable="1" requiredfield="0" persistentuniqueid="compUid_11" groupChildren="1" columns="1">
<TABLE style="WIDTH: 100%; HEIGHT: 100%" contentEditable=false cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD noWrap>
<LABEL style="CURSOR: default" id=checkbox1_LABEL_0 for=checkbox1_0>
<INPUT id=checkbox1_0 tabIndex=19 value=Y type=checkbox noinput="0" displaytext name="checkbox1"></LABEL></TD></TR></TBODY></TABLE></SPAN>
<SPAN style="Z-INDEX: 22; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 20px; HEIGHT: 20px; OVERFLOW: visible; TOP: 110px; LEFT: 300px" id=checkbox2 tabIndex=21 contentEditable=false elementtype="11" defaultselection="1" defaultlocation="0,0,20,169" boundtovariable="1" requiredfield="0" persistentuniqueid="compUid_12" groupChildren="1" columns="1" tempatt_lastelement_ofline="1">
<TABLE style="WIDTH: 100%; HEIGHT: 100%" contentEditable=false cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD noWrap>
<LABEL style="CURSOR: default" id=checkbox2_LABEL_0 for=checkbox2_0>
<INPUT id=checkbox2_0 tabIndex=21 value=Y type=checkbox noinput="0" displaytext name="checkbox2"></LABEL></TD></TR></TBODY></TABLE></SPAN>
<iframe style="Z-INDEX: 24; POSITION: absolute; WIDTH: 840px; HEIGHT: 470px; TOP: 180px; LEFT: 50px" id=iframe1 tabIndex=23 frameBorder=no HEIGHTOLD="470" WIDTHOLD="840" name="myframe"></IFRAME>
<SPAN style="Z-INDEX: 25; POSITION: absolute; WIDTH: 80px; HEIGHT: 20px; TOP: 40px; LEFT: 180px" id=text1 tabIndex=24>Sort Field</SPAN> 
<SPAN style="Z-INDEX: 26; POSITION: absolute; WIDTH: 80px; HEIGHT: 20px; TOP: 40px; LEFT: 300px" id=text2 tabIndex=25 persistentuniqueid="compUid_13">SubTotal</SPAN> 
<FIELDSET style="Z-INDEX: 0; POSITION: absolute; WIDTH: 280px; HEIGHT: 150px; TOP: 20px; LEFT: 120px" id=groupbox1>
<LEGEND>Sort Options</LEGEND></FIELDSET> 
<FIELDSET style="Z-INDEX: 27; POSITION: absolute; WIDTH: 330px; HEIGHT: 150px; TOP: 20px; LEFT: 410px" id=groupbox2 persistentuniqueid="compUid_14">
<LEGEND id=legend2 persistentuniqueid="compUid_15">Columns Options</LEGEND></FIELDSET> 
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=layoutinfo type=hidden resourcectrlids="customselect1_addbutton;customselect1_removebutton;customselect1_upbutton;customselect1_downbutton">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibiapp_app value=baseapp type=hidden name="ibiapp_app">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibic_server value=EDASERVE type=hidden isdataserversarea="1" name="ibic_server">
<xml id=focus_xmlelement>
<script type="text/xml" nextelementuniquenumber="7">
	
<rootxmlnode focoption="_FOC_NULL" top="100" left="10" width="150" height="130">
		
<variables>
			
<variable controltype="36" parametercreatedinreslay="0" type="unresolved" desc="Please select detail field[s)" name="RP_FN04P_Detail4" default="" textvarname="" accept="0" select="1" create="1" top="70" left="360" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_5">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="RP_FN04P_Detail4" datafield="RP_FN04P_Detail4" datasource="car.mas" datatype="0" selectedvalue="" operation="AND" slider_range_from="" slider_range_to="" previewvalue="DEALER_COST" sourcetype="typeMaster">
							
<static_values>
								
<static value="DEALER_COST" display="DEALER_COST" selected="1" noinput="0"></static>
								
<static value="RETAIL_COST" display="RETAIL_COST" selected="0" noinput="0"></static>
								
<static value="SALES" display="SALES" selected="0" noinput="0"></static>
								
<static value="MARGIN" display="MARGIN" selected="0" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="0"></requestid></variable>
			
<variable controltype="8" parametercreatedinreslay="0" type="unresolved" desc="Please select sort field[s)" name="RP_FL01B01_Sort1" default="" textvarname="" accept="0" select="0" create="1" top="70" left="30" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_1">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="RP_FL01B01_Sort1" datafield="RP_FL01B01_Sort1" datasource="car.mas" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="COUNTRY" sourcetype="typeMaster">
							
<static_values>
								
<static value="COUNTRY" display="COUNTRY" selected="1" noinput="0"></static>
								
<static value="CAR" display="CAR" selected="0" noinput="0"></static>
								
<static value="MODEL" display="MODEL" selected="0" noinput="0"></static>
								
<static value="_FOC_NULL" display="None" selected="0" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="0"></requestid></variable>
			
<variable controltype="8" parametercreatedinreslay="0" type="unresolved" desc="Please select sort field[s)" name="RP_FL02B02_Sort2" default="" textvarname="" accept="0" select="0" create="1" top="70" left="140" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_2">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="RP_FL02B02_Sort2" datafield="RP_FL02B02_Sort2" datasource="car.mas" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="COUNTRY" sourcetype="typeMaster">
							
<static_values>
								
<static value="COUNTRY" display="COUNTRY" selected="1" noinput="0"></static>
								
<static value="CAR" display="CAR" selected="0" noinput="0"></static>
								
<static value="MODEL" display="MODEL" selected="0" noinput="0"></static>
								
<static value="_FOC_NULL" display="None" selected="0" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="0"></requestid></variable>
			
<variable controltype="8" parametercreatedinreslay="0" type="unresolved" desc="Please select sort field[s)" name="RP_FL03B03_Sort3" default="" textvarname="" accept="0" select="0" create="1" top="70" left="250" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_3">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="RP_FL03B03_Sort3" datafield="RP_FL03B03_Sort3" datasource="car.mas" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="COUNTRY" sourcetype="typeMaster">
							
<static_values>
								
<static value="COUNTRY" display="COUNTRY" selected="1" noinput="0"></static>
								
<static value="CAR" display="CAR" selected="0" noinput="0"></static>
								
<static value="MODEL" display="MODEL" selected="0" noinput="0"></static>
								
<static value="_FOC_NULL" display="None" selected="0" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="0"></requestid></variable>
			
<variable controltype="11" parametercreatedinreslay="0" type="unresolved" desc="SORT1" name="SORT1" default="" textvarname="" accept="0" select="0" create="1" top="70" left="470" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_11">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="SORT1" datafield="SORT1" datasource="car.mas" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="" sourcetype="typeMaster"></data_info></condition></link>
				
<requestid id="0"></requestid></variable>
			
<variable controltype="11" parametercreatedinreslay="0" type="unresolved" desc="SORT2" name="SORT2" default="" textvarname="" accept="0" select="0" create="1" top="70" left="580" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_12">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="SORT2" datafield="SORT2" datasource="car.mas" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="" sourcetype="typeMaster"></data_info></condition></link>
				
<requestid id="0"></requestid></variable></variables>
		
<input_controls>
			
<input_control bindcontrolid="compUid_1" elementtype="8" name="combobox1" id="combobox1" multiple="0" inbinding="1" top="20" left="30" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_1">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="car.mas" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="0">
							
<static_values>
								
<static value="COUNTRY AS 'Country'" display="Country" selected="1" noinput="0"></static>
								
<static value="CAR AS 'Car'" display="Car" selected="0" noinput="0"></static>
								
<static value="MODEL AS 'Modèle'" display="Model" selected="0" noinput="0"></static>
								
<static value="BODYTYPE AS 'Body Type'" display="Body Type" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_2" elementtype="8" name="combobox2" id="combobox2" multiple="0" inbinding="1" top="20" left="140" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_2">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="car.mas" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="1">
							
<static_values>
								
<static value="_FOC_NULL" display="None" selected="1" noinput="0"></static>
								
<static value="COUNTRY AS 'Country'" display="Country" selected="0" noinput="0"></static>
								
<static value="CAR AS 'Car'" display="Car" selected="0" noinput="0"></static>
								
<static value="MODEL AS 'Model'" display="Model" selected="0" noinput="0"></static>
								
<static value="BODYTYPE AS 'Body Type'" display="Body Type" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_3" elementtype="8" name="combobox3" id="combobox3" multiple="0" inbinding="1" top="20" left="250" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_3">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="car.mas" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="1">
							
<static_values>
<static value="_FOC_NULL" display="None" selected="1" noinput="0"></static>
<static value="COUNTRY AS 'Country'" display="Country" selected="0" noinput="0"></static>
<static value="CAR AS 'Car'" display="Car" selected="0" noinput="0"></static>
<static value="MODEL AS 'Model'" display="Model" selected="0" noinput="0"></static>
<static value="BODYTYPE AS 'Body Type'" display="Body Type" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_5" elementtype="36" name="customselect1" id="customselect1" multiple="1" inbinding="1" top="20" left="360" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_6">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="" addalloption="1" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="AND">
							
<static_values>
								
<static value="DEALER_COST AS 'Dealer Cost'" display="Dealer Cost" selected="1" noinput="0"></static>
								
<static value="RETAIL_COST AS 'Retail Cost'" display="Retail Cost" selected="0" noinput="0"></static>
								
<static value="SALES AS 'Sales'" display="Sales" selected="0" noinput="0"></static>
								
<static value="MARGIN AS 'Margin'" display="Margin" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_11" elementtype="11" name="checkbox1" id="checkbox1" multiple="0" onetimepopulated="1" inbinding="1" top="20" left="470" width="60" height="20">
				
<link linktype="default" persistentuniqueid="compUid_4">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="car.mas" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE">
							
<static_values>
								
<static value="Y" display="" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_12" elementtype="11" name="checkbox2" id="checkbox2" multiple="0" onetimepopulated="1" inbinding="1" top="20" left="580" width="60" height="20">
				
<link linktype="default" persistentuniqueid="compUid_5">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="car.mas" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE">
							
<static_values>
								
<static value="Y" display="" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control></input_controls>
		
<other_bound_objects></other_bound_objects>
		
<requests nextrequestsid="1">
			
<request requestid="0" sourcetype="typeFex" targettype="iframe" targetname="myframe" ibif_ex="guided1.fex" activereport="0" reportcolumns="" reportrealcolumns="" ibiapp_app="baseapp"></request></requests></rootxmlnode></script>
</xml></BODY>
<script id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML>
 


8207, Windows 2016 64b, HTML, AHTML, PDF, EXL07...
 
Posts: 27 | Location: Suresnes | Registered: August 26, 2010Report This Post
Member
posted Hide Post
Try different conbinaisons, sort1 = country, sort2 = BODY_TYPE, sort3 = Model and activate or not the subtotal


8207, Windows 2016 64b, HTML, AHTML, PDF, EXL07...
 
Posts: 27 | Location: Suresnes | Registered: August 26, 2010Report This Post
Member
posted Hide Post
I'll have to absorb all the code on sorting..I am dissapointed there is not something in the gui that will allow it.

As far as column names..I think its actually simpler than I made it sound.

Lets say my master file has an item called: DEPARTMENTNUMBER and DEPARTMENTNAME.

On a typical report, I'd drag these onto the report and change the column title to: DeptNbr and DeptNm. When I do that with the guided adhoc then amperstand these fields with what ever else is a sort field..I can run the report and see these *new* column titles BUT....when I close the report and return the the procedure...every column title is somehow changed to DeptNbr (or whatever the first column I changed was)


7702
 
Posts: 19 | Registered: April 03, 2012Report This Post
Member
posted Hide Post
It's not you.

Once you put BY fields and detail fields and measures (counts, sums, etc) in parameter groups, you cannot use the column title feature of Report Painter, version 7xxxx (not 8, haven't seen 8). Even if you look at the FOCUS code there is no straightforward way to add it. This was confirmed to me by an instructor. I also just submitted a case illustrating the problem. Here is the answer:

"We are aware of this, and it is a current limitation when using parameter grouping and column titles.

The workaround is to simply use the TITLE attribute inside the Master file for which you would like to create a Guided Adhoc Form."

So, it's not you. Once you put fields in parameter groups you can't use the column title feature of the GUI, and there's no small, straighforward bit of code you can insert into the FEX to get that functionality back. It's how they implemented grouping.

Hope this helps.


WebFOCUS version: 7.7.02
Excel, PDF, HTML
 
Posts: 2 | Registered: October 10, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Guided Adhoc Question

Copyright © 1996-2020 Information Builders