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] Passing user entered Integer in HTML page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Passing user entered Integer in HTML page
 Login/Join
 
Gold member
posted
I want the end user to be able to enter an Integer. The Fex works as expected.

When I bring the fex into HTML Composer an Edit Box Control is created for this variable. The Parameters tab has it linked to the variable as expected. Yet an entered value is not respected by the fex, and asks for the parameter within the report frame. I assume the issue is with the Settings tab of the Edit Box Control.

Please help!

Related fex code:

-DEFAULT &NUMMO = 3
-SET &Dummy2 = '&NUMMO.().# Rolling Months:.';

This message has been edited. Last edited by: Nicholas Spyrison,


_____
WF 8.1.04
Win 7// Windows Server 2012 R2
SASS OLAP Cube
 
Posts: 92 | Registered: July 31, 2015Report This Post
Master
posted Hide Post
Hi Nicholas...

I've tried the same. Works fine.



Some questions:
do you happend to have a .fex in a frame set to "Auto Execute" ?

This will execute the fex even before then "run" button is pressed in the form?

or...

Does it prompt for the same parameter? really really the same? Or something similar?


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Expert
posted Hide Post
NUMMO is numeric, so prompt for numeric not alphanumeric -

-SET &Dummy2 = &NUMMO.# Rolling Months:.;

Also, lose the () as you are not specifying any optional values.


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, 2004Report This Post
Gold member
posted Hide Post
Awesome! have it working thanks for the help!

So in this case the single quotes is setting the expectation of alphanumeric?
ie) it has nothing to do with the spaces in '# Rolling Months:'?


_____
WF 8.1.04
Win 7// Windows Server 2012 R2
SASS OLAP Cube
 
Posts: 92 | Registered: July 31, 2015Report This Post
Expert
posted Hide Post
Correct!

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, 2004Report This Post
Silver Member
posted Hide Post
Can you right click on the fex and check in properties if "Prompt for paramters" is checked? If it is, uncheck it.


Year(s) of experience in WebFOCUS: 5+. Using WebFOCUS 7.7.03 on Windows platform with Oracle/SQL Server.
 
Posts: 41 | Registered: September 08, 2008Report 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] Passing user entered Integer in HTML page

Copyright © 1996-2020 Information Builders