Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Unable to place a report into different excel sheets based on across field
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Unable to place a report into different excel sheets based on across field
 Login/Join
 
Member
posted
Hi,
Lets say I have this Table file CAR file and the code as shown below:

-DEFAULT &COUNTRY_SLCT='ITALY';
TABLE FILE CAR
SUM
DEALER_COST
BY MODEL
BY BODYTYPE
ACROSS COUNTRY
ACROSS CAR
WHERE SEATS NE ' '
WHERE COUNTRY EQ '&COUNTRY_SLCT';
END
-RUN
-EXIT

If the user selects 2 countries such as Italy,England from the user interface/launchpage of the report,then I want the report to be placed in 2 different excel tabs(One sheet having the report for Italy,another sheet for England) in the same excel workbook.I know that BYTOC works only for BY fields.

Could anyone tell me how to do this.Any help is greatly appreciated.
Thanks a lot!

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


webfocus 769,windows 7,html
 
Posts: 24 | Registered: July 16, 2010Reply With QuoteReport This Post
Silver Member
posted Hide Post
TABLE FILE CAR
SUM 
DEALER_COST
BY COUNTRY NOPRINT
BY MODEL
BY BODYTYPE
ACROSS COUNTRY
ACROSS CAR
WHERE SEATS NE ' '
WHERE COUNTRY EQ '&COUNTRY_SLCT';
ON TABLE PCHOLD FORMAT EXL2K BYTOC
END  


7.7.04
Win2K3, Unix
Oracle 10G,SQL2K,XFOCUS,ESRI,BID,MRE,SELF-SERVICCE
 
Posts: 36 | Location: Melville,NY | Registered: August 09, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
Sounds like you need to take a look at the documentation on Excel support.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6270 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
HiJimbo,

I have tried this method which you have posted but when we pass more than1 value from the launchpage of the report - say England and Italy,in 1st tab, we will have the dealer cost values for both England and Italy (Dealer cost will contain some values for England and blank dealer cost values for Italy in 1st tab) and viceversa in the 2nd tab.

Hope iam clear.Let me know how can we get only the Dealer cost values for only England in 1st tab and Dealer cost values for only Italy in 2nd tab...

Thanks a lot!


webfocus 769,windows 7,html
 
Posts: 24 | Registered: July 16, 2010Reply With QuoteReport This Post
Member
posted Hide Post
[SOLVED]


webfocus 769,windows 7,html
 
Posts: 24 | Registered: July 16, 2010Reply With QuoteReport This Post
Expert
posted Hide Post
info4pals, to add [SOLVED] to the title of this thread, edit the first post you did, and add it there.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6270 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Unable to place a report into different excel sheets based on across field

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.