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.
-DEFAULTH &Property_Property_Status = '_FOC_NULL'
-DEFAULTH &Property_Property = '_FOC_NULL'
-DEFAULTH &Property_Market = '_FOC_NULL'
-DEFAULTH &FIELDTYPE = '_FOC_NULL'
-DEFAULTH &DISBY = '_FOC_NULL'
-DEFAULTH &Lease_New_Lease_Or_Renewal = '_FOC_NULL'
-DEFAULTH &Date_Calendar_Month = '_FOC_NULL'
TABLE FILE RENT_TRENDS
SUM
Lease_Begin
BY Lease_New_Lease_Or_Renewal
BY LOWEST Property_Market
BY LOWEST Property_Property
BY Property_Property_Status
BY LOWEST Date_Calendar_Month
HEADING
"MAIN_ Drill Down Detail"
" "
WHERE Date_Pay_Calendar_Year EQ '2015';
WHERE Lease_New_Lease_Or_Renewal EQ '&Lease_New_Lease_Or_Renewal.Lease_New_Lease_Or_Renewal:.';
WHERE Property_Market EQ '&Property_Market.Property_Market:.';
WHERE Property_Property EQ '&Property_Property.Property_Property:.';
WHERE Property_Property_Status EQ '&Property_Property_Status.Property_Property_Status:.';
WHERE Date_Calendar_Month EQ '&Date_Calendar_Month.Date_Calendar_Month:.';
When I click the drill down link. I receive an error: 0 ERROR AT OR NEAR LINE 38 IN PROCEDURE main_2_detail (FOC015) THE TEST VALUE IS LONGER THAN THE FIELD FORMAT LENGTH: Aug 2015&\R= 0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0
Line 38 is WHERE Date_Calendar_Month...
The parameters should yield records and the child, main_2_detail, works when run on its own.
Any suggestions??
Thanks for your time!!This message has been edited. Last edited by: <Kathryn Henning>,
_____ WF 8.1.04 Win 7// Windows Server 2012 R2 SASS OLAP Cube
When I can A2.QUOTEDSTRING after I enter the gui, it removes it to Date_Calendar_Month= \ If this were the issue I would have to do this to Property_Property as well.
I assume A2 is referring to Sort across filed 2, I couldn't get it working as a Sort down either.
Ram-
In both the Parent and Child files Date_Calendar_Month is A8. Examples 'Aug 2015' 'Sep 2015' 'Oct 2015'
_____ WF 8.1.04 Win 7// Windows Server 2012 R2 SASS OLAP Cube
TABLE FILE RENT_TRENDS SUM Lease_Begin Rent_Growth_Effective___Var/D16.4% BY LOWEST Lease_New_Lease_Or_Renewal BY Property_Market BY Property_Property BY Property_Property_Status ACROSS LOWEST Date_YYYYMM NOPRINT ACROSS LOWEST Date_Calendar_Month
_____ WF 8.1.04 Win 7// Windows Server 2012 R2 SASS OLAP Cube
If I try and recreate your issue using one of the sample data sources (always best so that we all have the same example!), then it works OK.
DEFINE FILE GGSALES
Date_YYYYMM/I6YYM = DATE;
Date_Calendar_Month/A8 = LCWORD(8, CHGDAT('YYMD', 'MTYY', DATECVT(DATE, 'I8YYMD', 'A8YYMD'), 'A8'), 'A8');
YEAR/YY = DATE;
END
TABLE FILE GGSALES
SUM DOLLARS
BUDDOLLARS
BY REGION
BY ST
BY CATEGORY
BY PRODUCT
ACROSS Date_YYYYMM NOPRINT
ACROSS Date_Calendar_Month
WHERE YEAR EQ 1996
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=DATA,
COLUMN=N5,
DRILLMENUITEM='MAIN',
FOCEXEC=IBFS:/WFC/Repository/BI_Development/~nspyrison/Rent_Trends/MAIN_2_Detail.fex( \
Lease_New_Lease_Or_Renewal=N1 \
Property_Market=N2 \
Property_Property=N3 \
Property_Property_Status=N4 \
Date_Calendar_Month=A2 \
),
TARGET='_blank',
$
ENDSTYLE
END
The value for &Date_Calendar_Month looks perfectly OK and if I view source of the HTML output the href within the anchor tag (<A> ) is well formed.
So I would suggest that it is something that is occurring only within your precise situation and I would recommend that ou raise a case with Tech Support so that they can work with you to resolve your issue.
T
BTW, if you want to reduce the code required to put a drilldown on each column of your first aggregated column, then, using my example above, change the first couple of lines within the style code to
TYPE=DATA,
COLUMN=DOLLARS(*),
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, 2004
(FOC015) THE TEST VALUE IS LONGER THAN THE FIELD FORMAT LENGTH: Aug 2015&\R=
I would guess that there is something in the code that you are running that you haven't shared here.
The Date_Calendar_Month variable is the last one passed but you have something else in that part of the URL - I'm guessing that it's an attempt at adding a random number (to stop a cached report being shown) that is incorrect.
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, 2004