[CLOSED] Passing user entered Integer in HTML page
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
August 20, 2015, 02:21 AM
Dave
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
August 20, 2015, 04:31 AM
Tony A
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
August 20, 2015, 10:46 AM
Nicholas Spyrison
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
August 20, 2015, 11:04 AM
Tony A
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
August 20, 2015, 04:32 PM
JL
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.