Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Stored Procedure result in form of text to be displayed in excel file

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Stored Procedure result in form of text to be displayed in excel file
 Login/Join
 
Platinum Member
posted
Hello,

I am trying to call a PL/SQL stored procedure in my fex by passing parameters ( which is user-input received from the HTML launch page of my report) to the stored proc, and the stored proc will return the result set in the form of a text variable (comma-delimited).

How can I display this result set in an excel spreadsheet?

Thanks in advance!

This message has been edited. Last edited by: FP Mod Chuck,


WF 7.7.03, Win 7
 
Posts: 127 | Registered: January 12, 2017Report This Post
Virtuoso
posted Hide Post
Look up
ON TABLE PCHOLD FORMAT XLSX

In the doc. https://webfocusinfocenter.inf...ang/source/out99.htm


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
I was looking to display a text variable which is comma-delimited in the form of a excel file.

How do I read the text variable & display as a excel file?

Thanks!


WF 7.7.03, Win 7
 
Posts: 127 | Registered: January 12, 2017Report This Post
Virtuoso
posted Hide Post
quote:
display as a excel file


Please explain exactly what you mean by that. An example would be helpful.

If you need to break down the comma-delimited list into its component values, look up the GETTOK() function.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Platinum Member
posted Hide Post
I was looking for something where my stored procedure returns multiple columns of data within a text variable (comma delimited) and to display that as output in an excel spreadsheet.

Can I just simply use ON TABLE PCHOLD EXL07?


WF 7.7.03, Win 7
 
Posts: 127 | Registered: January 12, 2017Report This Post
Virtuoso
posted Hide Post
quote:
Can I just simply use ON TABLE PCHOLD EXL07?


Try it, but I doubt that it will work since it's only one column (field) : meaning one string which contain comma but it remain a single string.

I also think that your best option as j.gross says is to use "look up the GETTOK() function" or have your SP changed to return multiple columns (fields).


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, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Stored Procedure result in form of text to be displayed in excel file

Copyright © 1996-2020 Information Builders