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] Date FORMAT Conversion Using Info Assist+

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Date FORMAT Conversion Using Info Assist+
 Login/Join
 
Gold member
posted
How do you convert a date parameter in a report title from format YYYYMMDD to format MM/DD/YYYY.

Note:- This needs to be achieved using InfoAssist+ only.

Any advice is highly appreciated.

Thank you

This message has been edited. Last edited by: NewBee...WF8,


WebFOCUS 8
Windows, All Outputs
 
Posts: 70 | Registered: May 26, 2017Report This Post
Virtuoso
posted Hide Post
Use a DEFINE, reformat the field and then put it in the heading.

  
DEFINE FILE WF_RETAIL
DATE_YYMD/YYMD=&YYMD;
DATE_MDYY/MDYY=DATE_YYMD;
END

TABLE FILE WF_RETAIL
HEADING CENTER
"<DATE_MDYY"
BY PRODUCT_CATEGORY
BY DATE_YYMD
BY DATE_MDYY
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *

ENDSTYLE
END


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
Thank you BabakNYC your suggestion works very well in the texteditor mode. But I am struggling to put this in DEFINE.

Can u pls pls tell me how do I do it in DATA> Detail(Define)

How to add ur piece of code. some reason my mind is not working at all today...(even tough its simple)


WebFOCUS 8
Windows, All Outputs
 
Posts: 70 | Registered: May 26, 2017Report This Post
Virtuoso
posted Hide Post
In InfoAssist, go to Data, Define. You'll get prompted for a FIELDNAME, FORMAT and the logic for the define. Type a fieldname like DATE_YYMD, choose a date format of YYMD and type &YYMD in the box where the logic goes. Click Ok.

Then create a new Defined field let's call it DATE_MDYY, use date format of MDYY and place DATE_YYMD in the logic.

Now you have 2 virtual fields defined in InfoAssist. You should see these two on the list of fields on the left. You can now place them in headings, Sort on them et cetera.

You can do all of this in InfoAssist.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
quote:
DATE_YYMD

Thank you So so so much BabakNYC....

As always this worked flawless...I TRULY APPRECIATE all your help.

Thank you once again

This message has been edited. Last edited by: NewBee...WF8,


WebFOCUS 8
Windows, All Outputs
 
Posts: 70 | Registered: May 26, 2017Report 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] Date FORMAT Conversion Using Info Assist+

Copyright © 1996-2020 Information Builders