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] Prompted report on defined value

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Prompted report on defined value
 Login/Join
 
Member
posted
I have a report that has two text fields. I want the capability so that the user is prompted to enter one value. The report will return results if either of the two fields has that prompted value. Does anyone know how to do that?

thanks!

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 18 | Location: Tacoma, WA | Registered: August 20, 2019Report This Post
Virtuoso
posted Hide Post
I hope that you just start using WebFOCUS because this is a very basic question.

Look documents in Creating Content or Reference section : Documentation
Don't know which version you are working with but even the latest version documentation will answer you questions.

You should update your profile to provide which version of WebFOCUS you are using


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Member
posted Hide Post
MartinY,

I appreciate your candor and sending me to a huge documentation.

Yes, it probably is basic for you, but clearly I don't know how, so I posted it here hoping someone could provide some thoughts.

I am assuming you didn't look at my profile, else you would have seen that I am new and indicated that my WebFOCUS version is 8.2.04.

quote:
Originally posted by MartinY:
I hope that you just start using WebFOCUS because this is a very basic question.

Look documents in Creating Content or Reference section : Documentation
Don't know which version you are working with but even the latest version documentation will answer you questions.

You should update your profile to provide which version of WebFOCUS you are using
 
Posts: 18 | Location: Tacoma, WA | Registered: August 20, 2019Report This Post
Platinum Member
posted Hide Post
Here is an example. You could run the following code:
TABLE FILE ibisamp/car
PRINT MODEL BODYTYPE LENGTH
WHERE MODEL CONTAINS '&SEARCH'
OR BODYTYPE CONTAINS '&SEARCH'
END  

And then, when prompted enter:

ER

and click the run button. You would see output for search of both fields.


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
Member
posted Hide Post
Thank you dbeagan!

I was thinking it was that simple also, but had problems getting that to work. My parameter '%SEARCH' didn't retain the values to pass over for some reason.

I ended up combining the values of the two fields into one field using "Define". I was then able to put that "Define" field into a "Simple Parameter".


quote:
Originally posted by dbeagan:
Here is an example. You could run the following code:
TABLE FILE ibisamp/car
PRINT MODEL BODYTYPE LENGTH
WHERE MODEL CONTAINS '&SEARCH'
OR BODYTYPE CONTAINS '&SEARCH'
END  

And then, when prompted enter:

ER

and click the run button. You would see output for search of both fields.
 
Posts: 18 | Location: Tacoma, WA | Registered: August 20, 2019Report This Post
Master
posted Hide Post
quote:
My parameter '%SEARCH' didn't retain the values to pass over for some reason


%SEARCH is not a valid parameter. You need to use a leading ampersand ( & ) on parameter names.


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report 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] Prompted report on defined value

Copyright © 1996-2020 Information Builders