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 have a compound report where i need to display the content for different page size. So i have an amper variable for page size and use that variable to check for different page size. The issue i am facing is for somme page size,say A4 , i have to apply a top margin and left margin for the compound report.So i have to add the same top and left margin to the position of different components in my compound report to get an uniform look.
This wont' work as i get bad style sheet error on POSITION because of the addition operation. I don't want to hardcore by adding the values as i have reports with 100's of lines. Is there any way i can make the addition work for the POSITION or any other way.?This message has been edited. Last edited by: FP Mod Chuck,
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017
I think you need some dialog manager logic to do the math on the &RIGHTMARGIN and &TOPMARGIN before you reference it in the stylesheet with a -SET based on the page size you want.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005
Right now i am passing the value as it is for A4 size.Even with that i the position won't do the addition operation i think.The value is being passed.Here is the error message that i get.
(FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 37: POSITION=((0.345 + 0.500) (0.485 + 1.875))
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017
Hi Chuck, Thanks for the suggestion. I could do like that if i have only one or few components.But i have like 50+ components in a fex and the position values changes for each components.So having such -SET statements for each component is a not a possible solution for me.
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017
Putting math in the stylesheet will not work so all I was trying to do was give you another way to accomplish setting the position value. Hopefully someone else will have an answer that is acceptable for you.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005