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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Variables to Dates
 Login/Join
 
Member
posted
Hello:

I would like to generate a full month out of the following variable:

&SHPDT = 'Feb 2008'

Is this possible?

Thx
 
Posts: 3 | Location: Longueuil, Quebec, Canada | Registered: April 16, 2008Report This Post
Virtuoso
posted Hide Post
Freddie

What do you mean with full month.

- 20080201
- Februari
- 2008/02/01

and please update your signature.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
As an addition to Frank's question, how is the field you are selecting on formated? Is it a date field?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Member
posted Hide Post
first: let me apologize for the signature.

second: that was the wrong question.

Here's my dilemma:

I need to link another report based on the across date and the code when i click on the amount.
The date is generated by an across date field.


01/02/2008 01/05/2008 01/06/2008
______________________________________

by code 001 520.00 2460.00 500.30
002 310.00 500.30 1300.25



The question is how do i link 520.00 base on '01/02/2008' when code eq '001'. I need to bring the date parameter in the next report.

Here's what i have:

TYPE=DATA, COLUMN=C1, COLOR = BLUE,
FOCEXEC = myrep( ), \
WHEN = COEDE EQ 2,
$

thanks,

freddie


freddie
______________________
Env Dev: WebFOCUS 7.1.3 Servlet - MRE/ReportCaster
Database-SQL Server

Platform-Windows xp/Service pack2

Output: HTML, Excel 2000 and PDF
 
Posts: 3 | Location: Longueuil, Quebec, Canada | Registered: April 16, 2008Report This Post
Expert
posted Hide Post
Unfortunately, you cannot use the CHGDAT function to change the abbreviated month in your Dialogue Manager variable - this does not work, because you cannot specify the T or X in the format of the input, just in the format for the output:

-SET &ECHO=ALL;
-SET &SHPDT = 'Feb 2008';

-SET &SD1 = CHGDAT('MtYY', 'MxYY', &SHPDT, 'A17');

-TYPE &SHPDT &SD1


I couldn't come up with anything shorter than this:

-SET &SHPDT = 'Feb 2008';

-SET &SM1 = EDIT(&SHPDT,'999$$$$$');

-SET &SM2 = DECODE &SM1(
-  'Jan' 'January', 'Feb' 'February', 
-  'Mar' 'March', 'Apr' 'April');

-SET &SHPDT2 &SM2 || EDIT(&SHPDT,'$$$99999');

-TYPE &SHPDT / &SM1 / &SM2 / &SHPDT2


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
Expert
posted Hide Post
quote:
second: that was the wrong question.


well, fugeddaboutit then.


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
Virtuoso
posted Hide Post
Freddie

Let me clarify what is meant by "signature", it is not "just your name".
You should update your signature in your profile with some information about version number, platform, database systems etc, so we know what advice could be interesting for you.
Some functions only work since version 7.1.x or are special for DevStudio.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders