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] Excel report not getting generated in different tabs

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Excel report not getting generated in different tabs
 Login/Join
 
Guru
posted
Hi,

Iam trying to generate a compound excel report and my report is not getting generated in different tabs.

Please see my code below :
TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS hold1 FORMAT XFOCUS
END
-RUN

-***report 1****
TABle file hold1
print *
ON TABLE PCHOLD FORMAT EXL07 OPEN NOBREAK
end

-***report 2****
TABle file hold1
print *
ON TABLE PCHOLD FORMAT EXL07
end

-***report 3****
TABle file hold1
print *
ON TABLE PCHOLD FORMAT EXL07
end

-***report 4****
TABle file hold1
print *
ON TABLE PCHOLD FORMAT EXL07 CLOSE
end

Actually Iam getting only report4 sometimes in a single tab and sometimes only report 2...

Can anyone please let me know how to get the 4 reports in 4 different tabs...Any help is appreciated!

Thanks a lot in advance!

Regards,
IP

This message has been edited. Last edited by: <Kathryn Henning>,


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Guru
posted Hide Post
Remove the NOBREAK to get separate tabs.


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Guru
posted Hide Post
Hi,

Thanks MattC for the quick response and for the solution but unfortunately Iam getting only 1 tab ie.., either report 2 will get printed at a time or report 3 will get generated.

Iam not getting what is the mistake.
Please help.

Regards,
IP


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Guru
posted Hide Post
Look at how you are casing "TABle" Below is my sample and it works correctly, but if I change my case on TABLE like yours, I only get two tabs.

You have watch your basic syntax. I would also include -RUN after each one of them.

Hope this helps.



-* File Car_Cntry.fex
SET EXCELSERVURL      = ''

TABLE FILE CAR
SUM SEATS AS ''
    MODEL AS ''
    DEALER_COST AS ''
    RETAIL_COST AS ''
BY CAR NOPRINT

ON TABLE PCHOLD FORMAT EXL07 OPEN
-RUN

TABLE FILE CAR
SUM SEATS AS ''
    MODEL AS ''
    DEALER_COST AS ''
    RETAIL_COST AS ''
BY CAR NOPRINT

ON TABLE PCHOLD FORMAT EXL07 
-RUN

TABLE FILE CAR
SUM SEATS AS ''
    MODEL AS ''
    DEALER_COST AS ''
    RETAIL_COST AS ''
BY CAR NOPRINT

ON TABLE PCHOLD FORMAT EXL07 
-RUN

TABLE FILE CAR
SUM SEATS AS ''
    MODEL AS ''
    DEALER_COST AS ''
    RETAIL_COST AS ''
BY CAR NOPRINT
ON TABLE PCHOLD FORMAT EXL07 CLOSE
-RUN
END




WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Guru
posted Hide Post
Hi Mattc,

That(TABle) was a typo...I will check and see whether it works or not.

Thanks a lot!

Regards,
IP


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Guru
posted Hide Post
Hi Mattc,

It is not working.

Thanks,
IP


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Guru
posted Hide Post
Can you show your actual code?


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Master
posted Hide Post
First things we do when compound doesn't work:

- check whether ALL parts work individually
( if a part gives an error you won't see it because the other part do give output )

- check if any parts could have 0 lines result?
( you might want to add SET EMPTYREPORT = ON. )

My first question would be. Do all part work individually?


Good luck.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Guru
posted Hide Post
Hi,

I will look into each section and check whether it is working or not.
Thanks a lot!

Regards,
IP


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report 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] Excel report not getting generated in different tabs

Copyright © 1996-2020 Information Builders