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.
I want to add a feature to my report to add user specified where clauses( user wants 7 where clauses). I want to :
First user selects a column name from combo box second user selects relation from combo box
then 1. enter text from a text box or 2. change the control type to a combo box( i don't know to do this) and load a file of options ( I know how to do this) 3. if the column is a date display the calendar tool and reposition it ( i don't know to do this) finally load the text box with the output of a calendar tool.
Since there are seven I wanted to reuse the same date control. Is this logical in this language?This message has been edited. Last edited by: secret,
Posts: 103 | Location: ricmmond va | Registered: September 30, 2004
I tend to use JavaScript to create controls on the fly as required by the value of a controls event. The basic process is -
// First remove the control if it already exists on the form
var RemCtrl = document.getElementById("control_id");
if (RemCtrl) {
document.form.removeChild(RemCtrl);
}
var NewCtrl = document.createElement("select");
NewCtrl.setAttribute("id", "control_id");
NewCtrl.setAttribute("name", "wf_variable_name");
NewCtrl.setAttribute("elementname", "combobox1");
NewCtrl.setAttribute("elementtype", "combobox");
NewCtrl.setAttribute("sourcetype", "typeFex");
NewCtrl.setAttribute("operation", "NONE");
NewCtrl.setAttribute("datatype", "1");
NewCtrl.setAttribute("addalloption", "1");
NewCtrl.setAttribute("dynalldisplayvalue", "-- Select --");
NewCtrl.setAttribute("inchainindex", "-1");
NewCtrl.setAttribute("chainnumber", "-1");
NewCtrl.setAttribute("cacheruntimedata", "0");
NewCtrl.setAttribute("displayfield", "");
NewCtrl.setAttribute("datafield", "");
NewCtrl.setAttribute("numofrecords", "-1");
NewCtrl.setAttribute("datasource", "your_select_list.fex");
NewCtrl.setAttribute("datafieldtype", "CHAR");
NewCtrl.setAttribute("ibiformat", "");
NewCtrl.setAttribute("IBIAPP_app", "your_app_folder");
NewCtrl.setAttribute("IBIC_server", "EDASERVE");
NewCtrl.style.position='absolute';
NewCtrl.style.top = 110;
NewCtrl.style.left = 515;
NewCtrl.style.width = 145;
NewCtrl.style.height = 20;
document.form.appendChild(NewCtrl);
// Once your control has been added to your form you can call IBs routine to load it
// from a fex or master according the the controls sourcetype attribute.
populateDynamicCtrl(NewCtrl);
You can use this sort of code to create any type of control on your form, although this example is specifically for a Combo box so just adjust it to create your INPUT (text box), calendar control or any other you might want.
Once you get your head around this it becomes easier to understand.
Good luck
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Where I use this code the name of the form is "form". With the recent movements in the way IB builds the HTML in the painter a form is not always present and so substituting body should be fine.
All the attributes are those that are written out by the HTML painter within version 5.3.2 and, as far as I know, are not documented anywhere. I have found out what most of them are used for by reading the IB JavaScript ibirls.js (sad, I know). I do not have any documentation on them and what I know resides in my head, also I have no plans to create a document.
Finally, I am not sure what you mean when regarding loading your code from a hidden label, can you expand on this?
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
I had code that loaded combo boxes from internal tables like: < !-- Option list 1 hidden --> < !-- Option list 2 hidden --> < !-- Option list 2 hidden -->
code to load:
function populate(id, fileid) { var selobj = document.getElementById(id) ; var fidobj = document.getElementById(fileid) ; selobj.length = 0 ; for (var i=0; i selobj.options[i] = new Option(fidobj[i].text,fidobj[i].value); }
Any wayI was hoping to use a similar method to laoad my new combo box. But I havent debugged it yet. Since I dont know what all the attributes mean. But your code example was very helpful, I'll figure it out sooner or later.
I was trying to load edit11 using the populate code above. which is what i deleted and recreated . Here is the code i used:
I see what you mean now, you are loading the options from an internal array that you already have set up?
If this is the case then all you need to do is replace the various attributes with those that you would normally want for your combo. The ones I have included are those that are present when you create a combo within the HTML painter in version 5.3.2.
The reason I use these attributes are for conformity with other combos already in use and the fact that I then use IB's js modules to populate the combo using a fex that I already have set up (why reinvent the wheel?).
Good luck with the code.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
I am now attempting to use your dynamic populate routine. It creates the new combo and seems to put about twenty blank lines in it
Is anything obviosly wrong?
How is the fex communicated to the control?
the IBI.fil technique uses a ddname, I don't see that in any of the attributes.
Here is my fex bob22.fex in the bob app folder.
(this is the same output that loaded the first listbox using the !ibi.fil.bob22 technique) APP HOLD BOB FILEDEF SELRELA DISK C:\IBI\APPS\BOB\SEL_REL_A.TXT FILEDEF SELRELN DISK C:\IBI\APPS\BOB\SEL_REL_N.TXT FILEDEF SELRELD DISK C:\IBI\APPS\BOB\SEL_REL_D.TXT CHECK FILE V_REPORT1 HOLD
DEFINE FILE HOLD TYPE1/A1=IF FORMAT EQ 'HYYMDs' THEN 'D' ELSE IF EDIT(FORMAT,'9$') EQ 'A' THEN 'A' ELSE 'N' ; FILEL/A8=IF FORMAT EQ 'HYYMDs' THEN ' ' ELSE IF EDIT(FORMAT,'9$') EQ 'A' THEN 'DUMMY' ELSE ' ' ; LFIELDNAME/A66=LOCASE(66, FIELDNAME, LFIELDNAME);
MYMODEL/A180= '' ; END
TABLE FILE HOLD PRINT MYMODEL ON TABLE SAVE AS BOB22 FORMAT ALPHA END
Here is my Javascript"
function edit6_onchange(ctrl) { alert("the value is") document.getElementById('edit11').disabled=false; var RemCtrl = document.getElementById('edit11'); if (RemCtrl) { alert("RemCtrl value is" + RemCtrl) document.body.removeChild(RemCtrl); }
Just had a look through your previous code and made sure I understood what you are trying to achieve. Which is, I believe, to create a control called "edit11" and then popoulate it?
It this is the case then you could probably get away with just using this code :
var NewCtrl = document.createElement("select");
NewCtrl.setAttribute("id", "edit11");
NewCtrl.setAttribute("name", "wf_variable_name");
NewCtrl.style.position='absolute';
NewCtrl.style.top = 110;
NewCtrl.style.left = 515;
NewCtrl.style.width = 145;
// Don't use the height especially if you are using a multiple select
NewCtrl.style.height = 20;
document.body.appendChild(NewCtrl);
populate(NewCtrl,'optrela')
This would give rise to a dynamic control (although you might not require the style.height - see above) :
This is because all the other attributes are used internally by IB's JavaScript and are not being used by your code?
You might also want to add an event to your control, and if you do you may have problems as the general wish is to just add an event via "attachEvent". Unfortuantely, I don't think you can do this so I resort to adding the event by calling a function using this type of code :
// Add an event handler to the new control using a seperate function
NewCtrl.attachEvent("onchange", createSelects);
// This function adds an event handler to a control
function createSelects() {
// You can use this to identify the control to which you are adding the event
this.displayElement = window.event.srcElement;
// just put your onChange event here - parameterised of course!!
your_function_name(parm1, parm2, .....);
}
Hope this helps
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Your main problem is that you refer to your control as edit11 but you haven't changed the dynamic control's id from "control_id". this will need to be "edit11" as you refer to this using document.getElementById('edit11');. That is why your old control is removed but the new one is not populated.
If you want to let the internals of IB's JavaScript do all the dirty work for you via populateDynamicCtrl(NewCtrl); then you need to have your fex creating a two column report in XML format. The ibirls.js module will run this using activex and interpret the XML columns annotated C0 and C1 placing the C0 value in the value and the C1 in the display of the combo. The attributes are used to determine items such as whether an ALL option is added to the control, and if so, what text should be displayed etc. One attribute you will require to retain for this is the datatype and this must be equal to 1.
I remembered that I did write a (sort of) text showing what the attributes were, and you can find them on this post.
I'll write more when time allows.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
I have the remove and recreate and load of the combobox with XML working now. The dialogue manaager variable is not being returned. I set the name attribute to VAL1 which is what is was before.
this is the code that create the xml file.
APP HOLD BOB
TABLE FILE V_REPORT1 SUM PRODUCT_DESC BY PRODUCT_DESC ON TABLE PCHOLD FORMAT XML END
Is ther something else that must be set?
VAL1 is returned if i don't execute the drop and recreate code.
the name is set as follows" NewCtrl.setAttribute("name", "VAL1");
Any ideas?
Thank you very much
Bob
Posts: 103 | Location: ricmmond va | Registered: September 30, 2004
If the control is being populated from the XML hold file then the fex is OK.
As to the VAL1 variable not being passed, I do not know. Is there an onsubmit event trigger mentioned in the FORM tag? I have seen previous RLP code specifying each variable to be passed. Not sure if that is your problem without seeing more of the code though.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
1. the value of VAL1 is not set after I drop and recreate the control edit11 as a combobox. edit 11 returns val1 to the focus cade if it is left as a text input control. The code is shown below. see code sample1
note that i display the correct values in function displayValues
2. when i drop and recreate the control edit 11 as a calendar it displays as a list box Not a calendar. see code sample 2 if I change the document.createElement("select"); to document.createElement("INPUT"); it creates a text box. I tried this since that is what RLP create s in the simplest case.
3. i have uinclderd the hwole html file as cod sample 3
Thank you far any assistance you can provide
bob ------------------------------------------------------------------------------- code sample1 - val1 problem -------------------------------------------------------------------------------
populateDynamicCtrl(NewCtrl); } function displayValues (ctrl) { var selobj1 = document.getElementById('edit11'); var i = document.getElementById('edit11').selectedIndex; alert("the value is" + " " + selobj1[i].value); alert("the text is" + " " + selobj1[i].text); } ------------------------------------------------------------------------------- code sample2 - calendar problem ------------------------------------------------------------------------------- function DropAndChangeDate (id) {
var selobj = document.getElementById(id) ; var olpparm =selobj.getAttribute("name"); alert ("the date parm is " + olpparm); var RemCtrl = document.getElementById(id); if (RemCtrl) { document.body.removeChild(RemCtrl); } var NewCtrl = document.createElement("select"); NewCtrl.setAttribute("id", "edit11"); NewCtrl.setAttribute("name", "VAL1"); NewCtrl.setAttribute("elementname", "edit11"); NewCtrl.setAttribute("elementtype", "14"); NewCtrl.setAttribute("calendardata", "0/0/-10;0/0/10"); NewCtrl.setAttribute("calendardatatype","1"); NewCtrl.setAttribute("ibiformat","YMD"); NewCtrl.style.position='absolute'; NewCtrl.style.top = 110; NewCtrl.style.left = 515; NewCtrl.style.width = 145; NewCtrl.style.height = 20; document.body.appendChild(NewCtrl);
}
------------------------------------------------------------------------------- code sample3 - the whole html file cust1 -------------------------------------------------------------------------------
You will have to enclose your code using the forum tags of [ code] and [ /code] (without spaces) for us to see it properly.
For info, as an when I get enough time, I am creating an example for you which should help you follow the flow. At the moment it is not passing the variable from the dynamic control!!
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Various sources on t'internet relate the DHTML controls as HTML From controls implying that they should be created in a from. We know that the later versions of IB's RLP do not use forms but then the only "dynamic" sort of control that is used is the calendar. I've yet to "play" with the new output of RLP to learn how it ddoes things (one of those rainy day past-times ).
However, it may be that if you enclose your controls within a pair of form tags, and change your references from document.body.xxxx to document.[form name].xxxx you should be able to pass the variable from your dynamic controls.
I have an example for you that will create one of four controls dynamically using reuseable code. Unfortunately the dynamic calendar control doesn't quite work ... yet. Once I have it working I will update the code -
<html>
<head>
<title>Dynamic control example</title>
<SCRIPT id=IbiOptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls";
var multidrill = "multidrill";
var mntFormValidate = "mntFormValidate";
var dyncalendar = "dyncalendar";
var ibiOptions = new Array(cgipath,ibirls,mntFormValidate,dyncalendar,multidrill);
</SCRIPT>
<SCRIPT id=nls src="/ibi_html/javaassist/nls.js" type=text/javascript>
</SCRIPT>
<SCRIPT id=ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript>
</SCRIPT>
<SCRIPT id=ibigblloadCss type=text/javascript>
ibigblloadCss(null);
</SCRIPT>
</head>
<body style="background-color: rgb(240,245,255)" onload="OnLoad();">
<form method=get name="form" TARGET="_blank" onsubmit="generate_random();">
<INPUT type=hidden value="showvals" name="IBIF_ex">
<INPUT id=IBIAPP_app type=hidden value="anthony" name="IBIAPP_app">
<INPUT type=hidden value=0 name="IBIMR_random">
<SELECT ID="Column1" onChange=show_ctrl("Column1","Oper1");
STYLE="position:absolute; top:50px; left:50px;" name="Column1">
<OPTION value="FOC_NONE">--- Select ---
<OPTION value="Column1">Column 1
<OPTION value="Column2">Column 2
<OPTION value="Column3">Column 3
<OPTION value="Column4">Column 4
</SELECT>
<SELECT ID="Oper1" onChange=what_ctrl("Oper1");
STYLE="visibility:hidden; position:absolute; top:50px; left:150px; width:170px;" name="Oper1">
<OPTION value="FOC_NONE">--- Select ---
<OPTION value="select-one">Single Select
<OPTION value="select-multiple">Multi Select
<OPTION value="text">Text Input
<OPTION value="calendar">Calendar
</SELECT>
<SELECT ID="Column2" onChange=show_ctrl("Column2","Oper2");
STYLE="position:absolute; top:80px; left:50px;" name="Column2">
<OPTION value="FOC_NONE">--- Select ---
<OPTION value="Column1">Column 1
<OPTION value="Column2">Column 2
<OPTION value="Column3">Column 3
<OPTION value="Column4">Column 4
</SELECT>
<SELECT ID="Oper2" onChange=what_ctrl("Oper2");
STYLE="visibility:hidden; position:absolute; top:80px; left:150px; width:170px;" name="Oper2">
<OPTION value="FOC_NONE">--- Select ---
<OPTION value="select-one">Single Select
<OPTION value="select-multiple">Multi Select
<OPTION value="text">Text Input
<OPTION value="calendar">Calendar
</SELECT>
<SELECT ID="Column3" onChange=show_ctrl("Column3","Oper3");
STYLE="position:absolute; top:110px; left:50px;" name="Column3">
<OPTION value="FOC_NONE">--- Select ---
<OPTION value="Column1">Column 1
<OPTION value="Column2">Column 2
<OPTION value="Column3">Column 3
<OPTION value="Column4">Column 4
</SELECT>
<SELECT ID="Oper3" onChange=what_ctrl("Oper3");
STYLE="visibility:hidden; position:absolute; top:110px; left:150px; width:170px;" name="Oper3">
<OPTION value="FOC_NONE">--- Select ---
<OPTION value="select-one">Single Select
<OPTION value="select-multiple">Multi Select
<OPTION value="text">Text Input
<OPTION value="calendar">Calendar
</SELECT>
<INPUT style="POSITION: absolute; TOP: 480px; HEIGHT: 30px; LEFT: 180px; WIDTH: 80px;" type=submit value=Submit>
</form>
<script type=text/javascript>
function show_ctrl(ctrl,next_ctrl) {
this.ctrlElement = document.getElementById(ctrl);
this.nextElement = document.getElementById(next_ctrl);
if (this.ctrlElement.selectedIndex == 0) {
this.nextElement.style.visibility = "hidden";
this.nextElement.selectedIndex = 0;
} else {
this.nextElement.style.visibility = "visible";
}
}
function what_ctrl(ctrl) {
this.ctrlElement = document.getElementById(ctrl);
var ctrlNum = ctrl.substring(4);
var ctrlTop = this.ctrlElement.style.top;
var RemCtrl = document.getElementById('Edit'+ctrlNum);
remove_ctrl(RemCtrl);
// A select control
if (this.ctrlElement.selectedIndex==1 || this.ctrlElement.selectedIndex==2) {
create_select(ctrlNum,ctrlTop);
} else {
// A text input control
if (this.ctrlElement.selectedIndex==3) {
create_text(ctrlNum,ctrlTop);
} else {
// A calendar control
if (this.ctrlElement.selectedIndex==4) {
create_calendar(ctrlNum,ctrlTop);
} else {
// The root option has been selected so just remove the control
return;
}
}
}
}
function create_select(ctrlNum,ctrlTop) {
var NewCtrl = document.createElement("SELECT");
NewCtrl.setAttribute("id", "Edit"+ctrlNum);
NewCtrl.setAttribute("name", "Edit"+ctrlNum);
NewCtrl.setAttribute("elementname", "combobox"+ctrlNum);
NewCtrl.setAttribute("elementtype", "combobox");
NewCtrl.setAttribute("sourcetype", "typeFex");
NewCtrl.setAttribute("operation", "NONE");
NewCtrl.setAttribute("datatype", "1");
NewCtrl.setAttribute("addalloption", "1");
NewCtrl.setAttribute("dynalldisplayvalue", "-- Select --");
NewCtrl.setAttribute("inchainindex", "-1");
NewCtrl.setAttribute("chainnumber", "-1");
NewCtrl.setAttribute("cacheruntimedata", "1");
NewCtrl.setAttribute("displayfield", "");
NewCtrl.setAttribute("datafield", "");
NewCtrl.setAttribute("numofrecords", "-1");
NewCtrl.setAttribute("datasource", "selctry1.fex");
NewCtrl.setAttribute("datafieldtype", "CHAR");
NewCtrl.setAttribute("ibiformat", "");
NewCtrl.setAttribute("IBIAPP_app", "anthony");
NewCtrl.setAttribute("IBIC_server", "EDASERVE");
NewCtrl.style.position="absolute";
NewCtrl.style.top = ctrlTop;
NewCtrl.style.left = 325;
NewCtrl.style.width = 250;
document.form.appendChild(NewCtrl);
if (this.ctrlElement.selectedIndex==2) {
NewCtrl.multiple=true;
NewCtrl.size=5;
}
populateDynamicCtrl(NewCtrl);
}
function create_text(ctrlNum,ctrlTop) {
var NewCtrl = document.createElement("INPUT");
NewCtrl.setAttribute("id", "Edit"+ctrlNum);
NewCtrl.setAttribute("name", "Edit"+ctrlNum);
NewCtrl.setAttribute("type", "text");
NewCtrl.setAttribute("value","Nothing");
NewCtrl.style.position="absolute";
NewCtrl.style.top = ctrlTop;
NewCtrl.style.left = 325;
NewCtrl.style.width = 250;
document.form.appendChild(NewCtrl);
}
function create_calendar(ctrlNum,ctrlTop) {
var NewCtrl = document.createElement("INPUT");
NewCtrl.setAttribute("id", "Edit"+ctrlNum);
NewCtrl.setAttribute("value","dd/mm/yy");
NewCtrl.setAttribute("name", "Edit"+ctrlNum);
NewCtrl.setAttribute("elementname", "Edit"+ctrlNum);
NewCtrl.setAttribute("elementtype", "editcalendar");
NewCtrl.setAttribute("labelid", "");
NewCtrl.setAttribute("caption", "editcalendar");
NewCtrl.setAttribute("operation", "NONE");
NewCtrl.setAttribute("ibiformat", "DMY");
NewCtrl.setAttribute("datasource", "");
NewCtrl.setAttribute("datafieldtype", "CHAR");
NewCtrl.setAttribute("calendardatatype", "0");
NewCtrl.setAttribute("calendardata", "01/01/1990;02/01/2015");
NewCtrl.style.position="absolute";
NewCtrl.style.top = ctrlTop;
NewCtrl.style.left = 325;
document.form.appendChild(NewCtrl);
// setupCtrlCalendar(NewCtrl);
}
function remove_ctrl(ctrl) {
if (ctrl) {
document.form.removeChild(ctrl);
}
}
// Nothing more than assigning a random number to an input to force a rerun of a report
// as opposed to recalling it from browser cache .
function generate_random() {
var Random_No = Math.floor((Math.random()*100000));
Rand = document.getElementById("IBIMR_random");
Rand.value = Random_No;
show_vars();
}
// Show all variables that should be passed
function show_vars() {
var varlist = "";
for (i=0;i<document.all.length;i++) {
if (document.all(i).name!="" && document.all(i).name!=undefined && document.all(i).value!=undefined) {
varlist += document.all(i).name + " : " + document.all(i).value + "\r\n ";
}
}
alert(varlist);
}
</script>
<SCRIPT id=OnloadHandler>
function OnLoad() {
<!--startibilines-->
UpdateData();
<!--endibilines-->
}
</SCRIPT>
</body>
<SCRIPT id=loadcalendar type=text/javascript>
if(ibigblInitInfo.testOptions(dyncalendar)){
setDateRange();
setupDocCalendars();
}
</SCRIPT>
</html>
Remember that the IB specific code includes originate from version 5.3.2 and have changed significantly in 7.1.x. However, the HTML will still run OK in those versions (I'm using 7.1.3).
One thing that I normally add to my code is the generation of a random number to implant into IBIMR_Random, hopefully to force a refresh of the page and not use a cached version. Within this example I have added a call to a show_vars function that just looks through the document and lists all the controls that have real names and values and therefore should be passed as variables.
Hope you can understand it!
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Thank you for your efforts. I pasted your code into a developer studio .htm file and hit the run button and got stack overflow at line 147 error in a msgbox.
I assume this ran on your computer. I will see if I can figure it out.
Bob
Posts: 103 | Location: ricmmond va | Registered: September 30, 2004
It's possible but I checked myself by copying the code and pasting into a new htm file before I last posted.
Did you change the values of "anthony" to a value for your own app? There are only two occurences, one in the hidden INPUT for IBIAPP_app and the second in the script for the select, again for the IBIAPP_app. This alone shouldn't cause a stack overflow, so I'm not too sure where to suggest checking. I'll have a think and see if there are any known issues on this error when I have the time.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004