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     [SOLVED] APP Studio - ALL option

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] APP Studio - ALL option
 Login/Join
 
Member
posted
If I have an HTML page with drop downs/combo box and I choose to have an "ALL" option. If the HTML page executes a report. What value gets passed from the combobox/drop down to the report if the "ALL" option is selected?

This message has been edited. Last edited by: Tamra,
 
Posts: 15 | Registered: April 12, 2016Report This Post
Expert
posted Hide Post
We use FOC_NONE in out HTML pages, not _FOC_NULL.

This is the value that is selected for ALL.

For us it isn't sent at all.

Not sure what _FOC_NULL does.

I would suggest using your browsers developer tools to check the calls made and see what is passed.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Matt B,

Welcome to Focal Point. Hope Waz's answer helped you out.

Can I ask you to please update your profile so that we know what version of the WebFOCUS product you are using?
This will make it easier for members to provide assistance specific to the version you are using.

There is a difference between FOC_NONE and _FOC_NULL.
It all depends on the report and what you are trying to achieve. In your situation, if the option of "ALL" is added into the HTML then _FOC_NULL is passed to the report. This is the same as ignoring the specific variable being passed.

FOC_NONE is used to eliminate the entire statement that contains this variable.


Although, code generally is avoided in the InfoAssist here is an example with each of the above.


If a decision statement contains FOC_NONE, the statement will not be added to
the FOCSTACK ( internal memory ) and therefore will not be processed. For example:
-DEFAULT &COUNTRY='FOC_NONE'
-*DEFAULT &COUNTRY='_FOC_NULL'
TABLE FILE CAR
PRINT CAR
WHERE (COUNTRY EQ '&COUNTRY') AND (COUNTRY EQ 'JAPAN')
END

1) While using FOC_NONE, the entire WHERE statement line is removed and we will
see all of the records

2) While using _FOC_NULL, only COUNTRY EQ '&COUNTRY' is TRUE. We also see cars
in JAPAN when using the AND statement.


Hope this clarifies the difference between FOC_NONE and _FOC_NULL.

Thank you for participating in the Focal Point Forum.

Kind Regards,
Tamra Colangelo
IBI Focal Point Moderator


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report 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     [SOLVED] APP Studio - ALL option

Copyright © 1996-2020 Information Builders