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.
The user wants to be able to enter a custom title depending on the selections they make. What is the syntax to prompt the user for a title to be displayed on the report.
(surprisingly I could not find a thread on this...)This message has been edited. Last edited by: <Kathryn Henning>,
Yes, I tied that earlier...prompts for the title but does not display it...perhaps something obvious I am missing...not sure....
TABLE FILE CAR PRINT CAR.ORIGIN.COUNTRY CAR.COMP.CAR CAR.CARREC.MODEL CAR.BODY.DEALER_COST CAR.BODY.RETAIL_COST HEADING ""&CUSTOM_TITLE.Enter customtitle." " " " ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = endeflt, $ TYPE=REPORT, GRAPHCOLOR='GREEN',
I don't understand your question. ( how about never prompting ).
We make an fex with prompts. Somewhere in code, but we prefer to prompt for parameters in the beginning of the fex. e.g. -PROMPT &CUSTOM_TITLE.Custom title.;
...and THEN we make an html refering to this fex. Parameters are added to the form. Done.
meanwhile in the back of my mind while typing...
I think you mean autoprompt. Which makes me wonder what you mean with 'parameter screen instead'.
How would you make an parameter screen without having &CUSTOM_TITLE some where in the code?
@j.gross
quote:
* &CUSTOM_TITLE.Enter customtitle.
is that even valid / supported code?
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
In most contexts, a line of FOCUS code (whether in sysin or in FOCSTACK) that has a leading asterisk is treated as a comment. It's been that way forever-and-a-day, from the days when the only platform was VM/CMS. (Right, Gerry?)
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
When using HTML Composer to create a parameter screen for a report, all -DEFAULT &VARIABLE statements in the referenced report are used to create parameters and related controls (check-boxes, text-box, list boxes, etc). I've never user PROMPT to to this.
If you have -DEFAULT &CUSTOM_TITLE = ''; in the fex, then HTML Composer will create a parameter called CUSTOM_TITLE and a related control, which you can choose to be a text-box. I am not aware if -PROMPT &CUSTOM_TITLE.Custom title. does the same for HTML Composer.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Ah. CRTFORM.... i remember them ever so fondly. you could have several of them within the progress of a single fex... CRTFORM didn't stop the processing... it just paused it, to collect more input from you... so i had a wicked hard time coming to grips with HTMLFORM and why anybody would want to limit themselves in such a silly way. nice memory. thanks, george
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Jack, You are right, a * in column 1 is treated as a comment BUT, the line is sent to the FOCSTACK whereas if you use -* it isn't.
And for all the "oldies" (me included), do you have customers with legacy FOCEXECs, using -CRTFORM and wanting to upgrade to WebFOCUS?This message has been edited. Last edited by: Danny-SRL,
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006