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 would like to add a radio button for pdf orientation (portrait or landscape) when user select PDF output. However, I was stuck in the first step trying to add a user-input variable. Could anyone shed some light on this problem? I've include code below. Thank you in advance.
TABLE FILE CAR PRINT COUNTRY CAR MODEL BODYTYPE SEATS DEALER_COST RETAIL_COST SALES LENGTH WIDTH HEIGHT WEIGHT WHEELBASE FUEL_CAP BHP RPM MPG ACCEL WARRANTY STANDARD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT &WFFMT.(,).Select type of display output. ON TABLE SET STYLE * -IF &WFFMT EQ 'IBI_DEFAULT' GOTO IBI_DEFAULT ELSE IF &WFFMT EQ 'PDF' GOTO IBI_PDF ELSE IF &WFFMT EQ 'HTML' GOTO IBI_DEFAULT ELSE IF &WFFMT EQ 'AHTML' GOTO IBI_DEFAULT ELSE IF &WFFMT EQ 'FLEX' GOTO IBI_DEFAULT ELSE IF &WFFMT EQ 'APDF' GOTO IBI_DEFAULT ELSE IF &WFFMT EQ 'PPT' GOTO IBI_DEFAULT ELSE IF &WFFMT EQ EXL2K GOTO IBI_DEFAULT ELSE IF &WFFMT EQ 'EXL2K FORMULA' GOTO IBI_DEFAULT ELSE IF &WFFMT EQ 'EXL2K PIVOT' GOTO IBI_DEFAULT; -IBI_DEFAULT $ -GOTO IBI_ENDSTYLE -IBI_PDF -IF &PDFORIENTATION EQ 'LANDSCAPE' GOTO PDFL ELSE IF &PDFORIENTATION EQ 'PORTRAIT' GOTO PDFP; -PDFL PAGESIZE='Letter', ORIENTATION=LANDSCAPE, -GOTO COMMON1 -PDFP PAGESIZE='Letter', ORIENTATION=PORTRAIT, -GOTO COMMON1 -COMMON1 $ -GOTO IBI_ENDSTYLE -IBI_ENDSTYLE ENDSTYLE ENDThis message has been edited. Last edited by: JennyY,
If you are already passing &PDFORIENTATION AS 'LANDSCAPE' or 'PORTRAIT' why not just omit all of the dialogue manager and just make the line of code in the style section? ORIENTATION='&PDFORIENTATION',
WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003