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.
Has anyone tried to give the user the ability to paste data (separated by comma) in text box to produce a report?
We have an inspection tool that our underwriters use to setup inspections and it allows them to pull down data based on a County they select. Problem is, they may not want all the data for that county so they asked for a text box where they could paste in policy numbers allowing them to only inspect those polices entered. This used to work fine in 7.6.10 with the below code but WF8.1.0.5m does not like it. Anyone know a work around? I tried a -READ but it only list the first policy.
DEFINE FILE UW_PASTED_INDEXKEYS
INDEXKEY/A15=TRIM('T', INDEXKEY, 15, ' ', 1, 'A15');
END
TABLE FILE UW_PASTED_INDEXKEYS
SUM
INDEXKEY
BY INDEXKEY NOPRINT
ON TABLE HOLD AS PASTKEYS FORMAT ALPHA
END
TABLE FILE &USER_NH_TABLE
PRINT WF_INDEX
BY INDEXKEY
WHERE INDEXKEY CONTAINS (PASTKEYS);
ON TABLE HOLD AS UW_NH_POLICES_TO_INSPECT_LOAD FORMAT FOCUS INDEX WF_INDEX
END
Thanks JVThis message has been edited. Last edited by: FP Mod Chuck,
I doubt that it work in 7.6.10 using a CONTAINS since CONTAINS is looking for a string patern that exist in a field, not a field that may be equal to several values.
Try this
DEFINE FILE UW_PASTED_INDEXKEYS
INDEXKEY/A15=TRIM('T', INDEXKEY, 15, ' ', 1, 'A15');
END
TABLE FILE UW_PASTED_INDEXKEYS
SUM INDEXKEY
BY INDEXKEY NOPRINT
ON TABLE HOLD AS PASTKEYS FORMAT ALPHA
END
-RUN
TABLE FILE &USER_NH_TABLE
PRINT WF_INDEX
BY INDEXKEY
WHERE INDEXKEY IN FILE PASTKEYS;
ON TABLE HOLD AS UW_NH_POLICES_TO_INSPECT_LOAD FORMAT FOCUS INDEX WF_INDEX
END
-RUN
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013