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
Calendar Issue
 Login/Join
 
Platinum Member
posted
I was looking for some more references about the calendar used on the launch page of WF. The issue we are having is that the calendar sends dates in the format "yy/mm/dd" ect, with the "/" sepereating months,days,years. The problem with that is the .fex stores dates in the format I6YMD "YYMMDD." So the report will display the date properly "yy/mm/dd" but will not work with the calendar control when being passed to the report. If we input dates into the calendar inputbox manually "yymmdd" it passes to the report just fine.

Anyone else have similar problems or know where I can get a solution to this?


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Expert
posted Hide Post
Eric,

I have seen the js module savevalues() affect one calendar control by removing the slashes but am not sure if it affects more than one - it should do as it performs a "for" section using document.getElementsByTagName("INPUT").

Just call it in your form tag as onSubmit="SaveValues();"

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
Virtuoso
posted Hide Post
If this is not a Focus file, just change the USAGE in the master file to YMD. Then your slashes will be fine.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Platinum Member
posted Hide Post
dhagen, i actually have a define setup in the .fex file to change the format from our as400 field to YMD and when I run the .fex itself it displays as yy/mm/dd, the ibiformat in the calendar control is set as YMD as well so the usage is set properly on both ends.

Tony, do I have to set up the saveValues js module in the html? Do you have an example of some sort I can follow?


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Expert
posted Hide Post
Eric,

If you have set=up your launch page in resource layout painter then the JS comntaining the function should have been added for you. It resides in ibirls.js.

You should be able to add the onLoad call to your form tag and it "should" be there for you.

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
Platinum Member
posted Hide Post
I tried adding that and it still functions the same way.

I have even tried redefining the amper values in the report itself to YMD format as well as the field it is comparing itself to in the YMD format. It still will not accept dates with the "/"s in them.

Anymore suggestions/ideas?


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Virtuoso
posted Hide Post
Just out of curiosity, does your where statement have quotes around the parameter?

eg: WHERE DATE EQ '&SOME_DATE';


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders