I have an html page that needs to feed a fex the values selected on the page. I have a check box that is bound to a parameter named DISRUPT. When the fex runs, it says I'm missing a value for &DISRUPT. I have -DEFAULT &DISRUPT='N' at the top of the procedure being run so that it provides a value, yet it still says it's missing a value. When the box is checked, it gets set to 'Y' as intended. Any clue what I need to do to satisfy the parameter when a box is unchecked? ThanksThis message has been edited. Last edited by: evan.brown,
WF 8.0.08 (Prod); WF 8.2.06 (Dev)
September 28, 2020, 05:44 PM
Waz
As far as I understand and seen over the years, unchecked checkboxes values do not get sent.
Also use -DEFAULTH instead of -DEFAULT
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
September 29, 2020, 04:07 AM
Wep5622
That sounds like you might have unterminated expressions preceding that -DEFAULT expression. What's the code around it?
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
September 29, 2020, 10:00 AM
evan.brown
Well, I'm not sure exactly how it was fixed, but it appears to be working now. I removed all but just the necessary DEFAULT just before it started working. Not sure if this fixed it or it was something else...Thanks for the help.