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     Defined fields in a subheading

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Defined fields in a subheading
 Login/Join
 
Member
posted
I have a report and in it I have a subheading. In the subheading, I have two defined fields. When I take those fields out, all of my records show up. When I put them back in, two of my records disappear.

This is boggling my mind. Any ideas?


- Stephanie Pierce
WF 7.1.4
Win2K
 
Posts: 15 | Location: Texas | Registered: July 19, 2005Report This Post
Master
posted Hide Post
can you paste the code here?


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Member
posted Hide Post
-DEFAULT &txtBDate = ' ';
-DEFAULT &txtEDate = ' ';
-DEFAULT &sltUser = ' ';
-SET &DATE1=&txtBDate;
-SET &DATE2=AYMD(&txtEDate, 1, 'I8YYMD');

JOIN
 INNER WKFL_TASK_COUNTER.WKFL_TASK_COUNTER.USER_ID IN WKFL_TASK_COUNTER
 TO SEC_USERS.SEC_USERS.USERID IN SEC_USERS AS J3
 END
JOIN
 WKFL_TASK_COUNTER.WKFL_TASK_COUNTER.FLOW_ID IN WKFL_TASK_COUNTER TO 
 WKFL_FLOW_LIST.WKFL_FLOW_LIST.FLOW_ID IN WKFL_FLOW_LIST AS J0
 END

DEFINE FILE WKFL_TASK_COUNTER ADD
BDATE2 = &DATE1;
BDATE/A12 = EDIT(BDATE2, '$$$$9999/99/99');
EDATE2 = &txtEDate;
EDATE/A12 = EDIT(EDATE2, '$$$$9999/99/99');
END

TABLE FILE WKFL_TASK_COUNTER
SUM
     DATETIME_DONE NOPRINT
     CNT.JOB_ID AS 'Job Count'
BY USER_LAST_NAME NOPRINT
BY FULLNAME AS 'Name'
BY FLOW_NAME AS 'Flow Name'
ON TABLE SUBHEAD
"Count of Jobs Done <BDATE - <EDATE "
ON TABLE SUBFOOT
"Generated on <+0>&DATE <+0> "
WHERE ( NOTE EQ 'Key Query Answer: Task complete' 
OR 'Key Query Answer: Re-route to SM Chg Supervisor' 
OR 'Key Query Answer: Priority Processing' 
OR 'Key Query Answer: Accept w/ counter offer' 
OR 'Key Query Answer: Accept w/ corrections' 
OR 'Key Query Answer: Delete' OR 'Key Query Answer: Accept');
WHERE ( USER_LOGIN_ID EQ '&sltUser');
WHERE ( DATETIME_DONE GE DT(&DATE1) );
WHERE ( DATETIME_DONE LT DT(&DATE2) );
ON TABLE SET PAGE-NUM OFF
ON TABLE SET BYDISPLAY ON
ON TABLE COLUMN-TOTAL AS 'Total Jobs'
ON TABLE HOLD AS H1 FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
ENDSTYLE
END
-RUN


- Stephanie Pierce
WF 7.1.4
Win2K
 
Posts: 15 | Location: Texas | Registered: July 19, 2005Report This Post
Expert
posted Hide Post
Stephanie,

Firstly, you should add a format to your BDATE2 and EDATE2 fields.
Secondly, you could achieve the result you want by using pure dialogue manager and keep the values as variables.
&BDATE = EDIT(&DATE1, '$$$$9999/99/99');
&EDATE = EDIT(&txtEDATE, '$$$$9999/99/99');
....
ON TABLE SUBHEAD
"Count of Jobs Done &BDATE - &EDATE "


If you must have actual fields, then try using the WITH syntax to associate your defined fields with real fields -

DEFINE FILE WKFL_TASK_COUNTER ADD
BDATE/A12 WITH DATETIME_DONE = EDIT(&DATE1, '$$$$9999/99/99');
EDATE/A12 WITH DATETIME_DONE = EDIT(&txtEDate, '$$$$9999/99/99');
END


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
Member
posted Hide Post
I completely overlooked keeping the values variables. *headdesk*

That solved my problem, thanks!


- Stephanie Pierce
WF 7.1.4
Win2K
 
Posts: 15 | Location: Texas | Registered: July 19, 2005Report 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     Defined fields in a subheading

Copyright © 1996-2020 Information Builders