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.
<SCRIPT type=text/javascript>
function postComments(formObj) {
// some javascript ...
var keysValue1 = ("!IBI.AMP.RPT_NAME;" + " ").substring(0,20);
// some more javascript ....
}
</script>
Just bang in the ampher variable anywhere you need it using the !IBI.AMP.varname;
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
So it looks like I can create a simple report in WebFocus that has two columns. Column A has some attribute that I'd like to reselect (like a machine serial number) and Column B has a COMPUTE statement that generates a Checkbox with an OnClick event that updates an IBI Amper variable.
So the user wants to run a report for a customer and sees that a few of the machines look to be poor performing based on summary/key metrics. They can then select the serial numbers in question by checking the check boxes. The onlick will update the list they have selected and then if they click on a link or button to drill-across to get detail on those machines the amper variable can be passed.
If all of my jibberish above is true then we should be able to do a multi-selected drill through to another report correct?
TABLE FILE CAR PRINT COUNTRY COMPUTE CHKBOX/A250='<INPUT TYPE=CHECKBOX NAME=COUNTRY VALUE=' | COUNTRY | '>'; ON TABLE HOLD FORMAT HTMTABLE AS CHKBOX END -RUN -HTMLFORM BEGIN <HTML> <BODY> <FORM METHOD="GET" ACTION="/cgi-bin/ibi_cgi/webapi.dll"> <INPUT TYPE=HIDDEN NAME="IBIF_ex" VALUE="CHKDRL"> !IBI.FIL.CHKBOX; <INPUT TYPE=SUBMIT> </FORM> </BODY> </HTML> -HTMLFORM END
Create a second FOCEXEC called "CHKDRL" with the following code:
-IF &COUNTRY0.EXISTS GOTO MULTICHK; -TYPE &COUNTRY -GOTO SHOWCNTY -MULTICHK -REPEAT SHOWCNTY FOR &CNTR FROM 1 TO &COUNTRY0 STEP 1 -TYPE &COUNTRY&CNTR.EVAL -SHOWCNTY
Now run the first FOCEXEC, select your COUNTRYs and then click the submit button. you will need to account for when a person does not select anything.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
Yes, that did help a bit. I'm just new to using the -HTMFORM command. I think I have it understood now I'm trying to limit what I can potentially do with it.
You cannot post images directly onto Focal Point. You need to post the image on the internet somewhere and then include an HTML image tag with the URL to your image on the internet in your Focal Point post.
By the way, I grew up in Poughkeepsie NY. I see you are located in Rochester NY.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003