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     [Case Opened] Active Report Sort Command on Date-Time Field Failing.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Case Opened] Active Report Sort Command on Date-Time Field Failing.
 Login/Join
 
Master
posted
In my MFD for my Oracle table I have a datetimestamp column with a format of HYYMDS.

I create a DEFINE FILE field with a format of HMDYYSB, assigning the datetimestamp column.

In my Active Report output, the Active Report sort command works for the database field, but not the DEFINEd field.

Here is an example using the CAR file:
DEFINE FILE CAR
 EDATE1/HYYMDSB WITH CAR = IF CAR EQ 'AUDI' THEN DT('07/09/2015 02:38:36 AM')
                            ELSE IF CAR EQ 'DATSUN' THEN DT('07/01/2015 03:17:23 AM')
			     ELSE IF CAR EQ 'BMW' THEN DT('07/06/2015 10:34:28 AM')
			      ELSE IF CAR EQ 'TOYOTA' THEN DT('12/06/2012 04:34:28 PM')
			       ELSE IF CAR EQ 'BMW' THEN DT('07/06/2015 10:34:28 AM')
				ELSE IF CAR EQ 'JENSEN' THEN DT('007/06/2015 04:34:28 PM')
				 ELSE DT('07/06/2015 04:34:28 AM');
 EDATE2/HMDYYSB WITH CAR = EDATE1;
END
-*
TABLE FILE CAR
 PRINT CAR
 EDATE1
 EDATE2
 ON TABLE PCHOLD FORMAT AHTML
 ON TABLE SET STYLE *
 TYPE=REPORT, FONT='COURIER', SIZE=14, $
ENDSTYLE
END

Run this, and you will see the Active Report sort work for the first date column, but not the second.

This message has been edited. Last edited by: David Briars,




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
It seems to be working in 8105.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Master
posted Hide Post
Awesome that it works in 81x.

Any assistance for folks in 80x, greatfully accepted.




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Master
posted Hide Post
David,

I'm also not able to recreate your results using 8.0.08 linux. Is it possible that there is an issue in 8.0.07 build?

I was able to successfully select each column in the Active reports and sort ascending then descending. First with EDATE2 then EDATE1.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Master
posted Hide Post
Thanks for checking, Eric.

Yikes, maybe it is 8.0.07 in particular.

I've opened a case.




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Master
posted Hide Post
Sorry I couldn't be more help... Frowner


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Master
posted Hide Post
The following thread from 2010 suggests that Active Reports sort on date-time fields as strings, not as a displacement value:

http://forums.informationbuild...=793100533#793100533

(The OP was able to convert to smart dates. However I cannot, because my Date-Time field has times. Murphy was an optimist! )
 
Posts: 822 | Registered: April 23, 2003Report 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     [Case Opened] Active Report Sort Command on Date-Time Field Failing.

Copyright © 1996-2020 Information Builders