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 came to ask for aid to the WF experts after doing a research from my own and not being able to achieve what I want.. I'm currently creating an excel file with a template file on the server because i'm embedding a macro, the file has about 20 sheets that contain multiple information from multiple departments, however I would like to include some preformating on the excel sheets to save myself some vba coding (which is working just fine), but apparently WebFocus completely overwrites the content on all the sheets including the formating.. so I'm wondering if there is way to keep the whats on the page and just insert the request from the server.
This is a piece of the code to give you an idea..
-*TEMPLATE CALLING
APP FI TMPTHOLDER1 DISK cat_macros1.mht
APP FI TMPTHOLDER2 DISK cat_macros2.mht
TABLE FILE TREND_COMM_CAT_SUM_TAB
PRINT *
ON TABLE HOLD AS TMPTHOLDER1 FORMAT EXL2K TEMPLATE 'cat_macros' SHEETNUMBER 1
END
TABLE FILE TREND_DIY_CAT_SUM_TAB
PRINT *
ON TABLE HOLD AS TMPTHOLDER2 FORMAT EXL2K TEMPLATE 'cat_macros1' SHEETNUMBER 2
END
TABLE FILE OVERVIEW_SLIDE
PRINT *
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'cat_macros2' SHEETNUMBER 19
END
the code above would output exactly what I want except for the borders that I already prebuilt on the template, i know its overwriting because if I add one extra tab and I don't print anything on it it will preserve the formatting.
I will appreciate any help on this matter if it can be achieved, if what I want to do is not possible i would also appreciate to be told!
Thanks a lot !This message has been edited. Last edited by: Kerry,
Yes, WF completely replaces the content of each target sheetnumber. Whatever formatting you cannot accomplish by means of WF STYLESHHET you will need to do via VBA.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005