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] Prompt issue in launch page ?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Prompt issue in launch page ?
 Login/Join
 
Master
posted
I have a fex with a launch page which prompts for variables: YEAR, MONTH and DOGID.
In the SQL database the fields are written in mixed case (i.e. Year, Month, DogId), and remain in mixed case in the HOLD file after a

TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS HF1
END

?FF HF1
-RUN 


I am trying to pass these values from the launch page to the report focexec to be used in WHERE statements. Here is my code in the focexec:

-DEFAULT &MONTH = ‘ ‘ ;
-DEFAULT &YEAR = ‘ ‘;
-DEFAULT &DOGID = ‘ ‘ ;
………………………………….

TABLE FILE WHATEVER
PRINT
FLD1 FLD2
BY Year
BY Month
BY DogId
WHERE Year EQ ‘&YEAR’;
WHERE Month EQ ‘&MONTH’;
WHERE DogId EQ ‘&DOGID’;
END
-RUN


What happens is the launch page prompts me for these 3 variables as anticipated. Then a 2nd launch page displays and asks me to provide selections to these variables all over again !!

There is an intermediate page that runs between the launch page program and my report fex. This page contains HTML form coding which passes hidden values and (the 3) variables to the report fex. The Year, Month and DogId fields are referenced in this page in CAPITAL letters as YEAR, MONTH and DOGID.

My problem is I am having trouble getting the –DEFAULT command to work with these variables that are referenced as either MIXED CASE or CAPITAL letters. Do I reference the fields in mixed case in the –DEFAULT or as CAPITAL letters? What reference do I use in the WHERE statement?

Has anyone had experience with this?
Thanks!

This message has been edited. Last edited by: FP Mod Chuck,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Virtuoso
posted Hide Post
Hi Tomsweb

Change your -DEFAULT's to -DEFAULTH that should eliminate the extra prompt.

This message has been edited. Last edited by: FP Mod Chuck,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Master
posted Hide Post
Thanks Chuck


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report 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] Prompt issue in launch page ?

Copyright © 1996-2020 Information Builders