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     Master to a recursive join problems

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Master to a recursive join problems
 Login/Join
 
Member
posted
Hello. I'm new to WebFocus, currently using 5.3.3 and preparing to upgrade to 7. I'm trying to figure out how to create a join that has a what seems to be complex structure. I have a master table with about 12 fields in it. I don't have any trouble joining it to most detail tables (mostly of the 'lookup' type, ie, the master has a surgeon employee code, and I've joined it to an employee table with the surgeon name) and a couple of one to many joins (where a patient number is linked to the case history table since a patient might have multiple cases).

Here is the problem.. I have a table (more than one actually) that is a recursive table. It has five fields or so, of which one field can be pointed at another and related. This works. However, when I try to join the Master (let's call it Cases) to this recursive (Sys_tree) it works, but when I try to THEN JOIN Sys_tree to itself to I cannot get anything. The Report Painter 'Splits' the joins into two windows and I cannot figure out how to use them. Any pointing in the right direction would be most helpful. I've read everything on recursive joins and understand at least some of it. My recursive joins by themselves work fine. Razzer


Server: WebFOCUS 5.3.3 on Win 2003
WF CAS/MRE/BID/Analy Reporter/IIS WebServer
 
Posts: 8 | Location: Arkansas USA | Registered: May 23, 2006Report This Post
Expert
posted Hide Post
Graysailor, (hm interesting moniker)

When you create a join structure in WF with multiple tables, the subsequent joins are made to the new structure name which is the first table mentioned. Confused? Well let's try and make it clearer ....

Using your tables, the join would need to be something like -

JOIN CLEAR *
JOIN [field] IN Cases TO [matching field] IN Sys_tree (AS J1 TAG etc.)
JOIN [field in Sys_tree] IN Cases TO [matching field] IN Sys_tree (AS J2 TAG etc.0

This will give you a structure like this -

Cases
|
|
Sys_tree
|
|
Sys_tree

which is what I think you are saying that you require?

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
Exactly. But when I attempt to do this, it splits the joins up and when I pull up Report Painter I do not see the Recursiv SYS_TREE files.
BTW - I'd rather be sailing, my last name is Gray (and hair getting there as well). I've got a Prindle Catamaran and a Columbia 27' Cruiser (lake cruiser).


Server: WebFOCUS 5.3.3 on Win 2003
WF CAS/MRE/BID/Analy Reporter/IIS WebServer
 
Posts: 8 | Location: Arkansas USA | Registered: May 23, 2006Report This Post
Expert
posted Hide Post
I'm with you on the sailing, however, to do that I need to work Frowner

Post your join plus release and platform (as most have done in the signature section of the profile) and we'll see if we can assist more.

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 think I've got the profile signature done correctly. I forgot to add Tomcat - which I believe is also something we have. We are only weeks away from moving up to 7.


Server: WebFOCUS 5.3.3 on Win 2003
WF CAS/MRE/BID/Analy Reporter/IIS WebServer
 
Posts: 8 | Location: Arkansas USA | Registered: May 23, 2006Report This Post
Member
posted Hide Post
I got it with help from IBI, it was my Tagging. I wasn't doing the correctly.


Server: WebFOCUS 5.3.3 on Win 2003
WF CAS/MRE/BID/Analy Reporter/IIS WebServer
 
Posts: 8 | Location: Arkansas USA | Registered: May 23, 2006Report 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     Master to a recursive join problems

Copyright © 1996-2020 Information Builders