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     Get condition values from a table

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Get condition values from a table
 Login/Join
 
Member
posted
I am planning on creating a table for my users to be able to maintain the threshold values for use in the condition syling of various reports. Has anyone done this before and willing to offer some tips on how to do it?

What I was envisioning was each condition having a code, low/high range, and textual description of what color they want. Within the report it would for each condition go out to the table, get the low/high range and compare it to the value.

Sounds like it would work on paper, but I'm having difficulties figuring out how to actually make it work in WF. If the best recommendation is to manually have the values embedded in the reports, I'll live with that also.

Thanks!

rob

WebFOCUS 7.6.2 SQL Server

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


WebFOCUS 8.0.0.5 - SQL Server - Windows Server
 
Posts: 21 | Location: Fort Wayne, IN | Registered: June 29, 2007Report This Post
Expert
posted Hide Post
Rob,

How are you prompting your end users for input to the report (if at all) ... Your own launch pages or Auto Prompting?

You can easily prompt for a low and high value and then incorporate them into your code as necessary.

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
Thanks for the reply. I am doing HTML launch pages. I am wanting to have a way that the business owner of that report sets the thresholds for the conditional formatting and then lets say in 3 months they have now found that they should be adjusted, goes somewhere (SQL server table or whatever) makes the change and now the new thresholds take effect without any developer touching it.

I think where I'm having a little difficulty right now is that I'm not doing it in the MRE side of things. If it is done over there, can the business owner modify thresholds in the report design? Can they modify it if I developed the report in Dev Studio?

We are new to WF and BI so we aren't rushing into the managed reporting area and in effect the general business users aren't licensed for MRE so they will be using canned reports (which I am working on in Applications on the Data Server right now), which is what we will need the conditional styling on to begin with. My knowledge on MRE and if that's where we should be right away is very minimal, so if I can do everything in MRE without the business users needing a license I'd appreciate it if someone shed some light on that for me. We have licenses for power users, but want to get some groundwork down before taking that leap.

Thanks!

rob


WebFOCUS 8.0.0.5 - SQL Server - Windows Server
 
Posts: 21 | Location: Fort Wayne, IN | Registered: June 29, 2007Report This Post
Master
posted Hide Post
It doesn't make a difference if you are doing it in MRE or Dev Studio. What you want to do is add parameters to you HTML launch page to allow the users to select their own HIGH, LOW, MEDIUM ranges. Then you code the amphere variables into your style sheet instead of hard coding the ranges. Hope this helps.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
Rob,

To enable the end user to store the thresholds in a data repository somewhere, you would have to create a front end that will display the values and allow the end user to update them.

You could achieve this using ASP or, as I have done many a time, you could create a focexec that creates a HTMLFORM that issues MODIFY code from JavaScript. Both methods update using a server side process. However, as I always mention, if you cannot create the code on your own abilities your chances of supporting it, if or when it goes wrong, are slim and you would be better off using an alternate process.

Do you have the ODBC connector licensed? If so then you could always give them an Excel workbook with a named range that substitutes for your data repository - most end users are familiar with Excel so it is sometimes easier. I would recommend sufficient validation of entered data within the VBA code of the workbook, just to ensure no unforeseen entries Wink

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
Thanks for the replies. I created a Lotus Notes database to do the maintenance, pushing the data to SQL Server, and it is working well. I do app development, ETL, and all WF work, so supporting it is not an issue. The fun part is now that they have seen the light they are talking about putting thresholds on individuals, not just common categories. I think I may have to slow them down a bit on that thought... Smiler

Thanks!

rob


WebFOCUS 8.0.0.5 - SQL Server - Windows Server
 
Posts: 21 | Location: Fort Wayne, IN | Registered: June 29, 2007Report 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     Get condition values from a table

Copyright © 1996-2020 Information Builders