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.
I'm new to studying FOCUS language and attempting to join three tables together. The only hitch is that I need to tweak the joining columns prior to the join. I have used a Virtual field before to join two tables without issue. Adding a third table would seem simple enough but I can't seem to find any documentation on how to do this. Here's a simplified example. When I run this I receive errors that "FIELD2" in Table3 IS NOT RECOGNIZED AND ALSO vFIELD2 USED IN JOIN CANNOT BE FOUND IN THE FILE. How should I do this? I would prefer NOT to modify the master file as other queries have already been created against the masters. ------------------------------------------------------------------------------------------------------------------------------------- JOIN vFIELD1 WITH FIELD1 IN TABLE1 TO FIELD1 IN TABLE2 TAG J1 AS JOIN1 JOIN vFIELD2 WITH FIELD2 IN TABLE2 TO FIELD2 IN TABLE3 TAG J2 AS JOIN2
DEFINE FILE TABLE1 vFIELD1/A10V = TRIM('L',FIELD1,10,'0',1,vFIELD1); vFIELD2/A10V = TRIM('L',FIELD2,10,'0',1,vFIELD2); END
TABLE FILE TABLE1 PRINT J1.FIELD1 J2.FIELD2 ON TABLE PCHOLD FORMAT HTML END -------------------------------------------------------------------------------------------------------------------------------------
The join from Table2 to Table3 uses a field from Table2 (not Table1) to join Table3. If the host (Table1) is always the same how can you reference anything from Table2?
Waz is correct. Once you have issued your first join, all the fields of TABLE2 become, virtually, fields of TABLE1. If you want to join TABLE3 to the joined structure, you join to TABLE1. Try it.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006