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] GE / LE user parameters on 1 Field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] GE / LE user parameters on 1 Field
 Login/Join
 
Silver Member
posted
Hello,

I have a report where I want the user to be able to restrict the amount on cumulative lifetime donation amount. This amount is listed in one field (LIFETIME_AMOUNT) and I'd like it to appear on the user parameter side as:

Lifetime Amount GE ______
Lifetime Amount LE ______

So the user can input the following examples as parameters:
Lifetime Amount GE 1000
Lifetime Amount LE 5000

My code looks like this:
quote:

-SET &LIFETIME_AMT = IF &LIFETIME_AMT EQ '' THEN 'FOC_NONE' ELSE &LIFETIME_AMT;
...
WHERE DONORTABLE.DONORTABLE.LIFETIME_AMT GE &LIFETIME_AMT;
WHERE DONORTABLE.DONORTABLE.LIFETIME_AMT LE &LIFETIME_AMT;


I changed it to:
quote:

-SET &LIFETIME_AMT = IF &LIFETIME_AMT EQ '' THEN 'FOC_NONE' ELSE &LIFETIME_AMT;
...
WHERE (( DONORTABLE.DONORTABLE.LIFETIME_AMT GE &LIFETIME_AMT ) AND ( DONORTABLE.DONORTABLE.LIFETIME_AMT LE &LIFETIME_AMT ));


However, both of them show up as one parameter field for the user when ran instead of two separate parameter fields for them to type into. How can I have two separate fields for the different inputs for GE and LE?

This message has been edited. Last edited by: a415,


8009
Windows 7
Excel/HTML/AHTML/PDF
 
Posts: 34 | Location: San Francisco, CA | Registered: July 25, 2011Report This Post
Expert
posted Hide Post
WHERE (( DONORTABLE.DONORTABLE.LIFETIME_AMT GE &LIFETIME_AMT1 ) AND ( DONORTABLE.DONORTABLE.LIFETIME_AMT LE &LIFETIME_AMT2 ));


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
Francis,

That was it! Thanks so much for your immediate assistance, I really appreciate it.


8009
Windows 7
Excel/HTML/AHTML/PDF
 
Posts: 34 | Location: San Francisco, CA | Registered: July 25, 2011Report 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] GE / LE user parameters on 1 Field

Copyright © 1996-2020 Information Builders