HOW can i display three formats for a fex file, so that user has an option of picking the best format which he is comfortable with.......This message has been edited. Last edited by: Kerry,
WebFOCUS Version 7.6.7 windows PDF
June 26, 2009, 08:37 AM
Surenther
Hope this code will help you
TABLE FILE CAR PRINT MODEL BY CAR ON TABLE PCHOLD FORMAT &OUT END
It will ask for the output format give your required format there
Formats for a fex file???? Do you mean the results of the fex or do you intend to present the fex file itself in some different formats? What choices may the users have in that case?
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
June 26, 2009, 08:52 AM
Tony A
quote:
ON TABLE PCHOLD FORMAT &OUT END
It will ask for the output format give your required format there
Only if you have amper autoprompting turned on (IBIF_wfdescribe in ('XMLRUN','XMLPROMPT')).
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
June 26, 2009, 09:06 AM
Doug
If you mean that you want the user to select from a variety of formats, then what Surenther suggested would be a small piece of puzzle, keeping in mind what Tony A said. Then DEFAULT "&OUT" to a specific value and create a launch page for that fex with a selection control for the "&OUT" as desired. See this example as a potential solution. I did this one for Chubb & Son Insurance. This example uses the format icons for the execution buttons for the outputs available to the users. You'll also need to add the styles for each format which you make available to the user.
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
June 26, 2009, 09:13 AM
Surenther
quote:
Originally posted by Tony A:
quote:
ON TABLE PCHOLD FORMAT &OUT END
It will ask for the output format give your required format there
Only if you have amper autoprompting turned on (IBIF_wfdescribe in ('XMLRUN','XMLPROMPT')).
ON TABLE PCHOLD FORMAT &WFFMT.(<HTML,HTML>,<PDF,PDF>,<Excel,EXL2K>).Select.
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!