IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    [SOLVED] How to save file in CSV format? (version 764)
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
I tried:
ON TABLE HOLD COMT
ON TABLE HOLD COMMA
ON TABLE HOLD LOTUS
ON TABLE PCHOLD LOTUS
(All from the information from helpfile)
And all result in a file of blank format with NO extension!

Is it actually banned to save in other format rather than xls, pdf, doc?

This message has been edited. Last edited by: minos4,


____________________
764_XP
 
Posts: 10 | Registered: September 23, 2008Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
All are correct, the error is in the code, not the hold format.

post the code, between code tags if possible as it maitains the indentation(if you've used any)

Also try and repro with a standard IBI Focus DB such as car then we can all play.
 
Posts: 930 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
I just did this:
APP HOLD mydirname
TABLE FILE CAR
SUM SALES
BY COUNTRY
ON TABLE HOLD AS COMTHOLD FORMAT COMT
END


Got this:

91 Nov 05 13:14 comthold.csv
187 Nov 05 13:14 comthold.mas

And this:

more comthold.csv
"COUNTRY","SALES"
"ENGLAND",12000
"FRANCE",0
"ITALY",30200
"JAPAN",78030
"W GERMANY",88190


Ginny
---------------------------------
Prod: WF 7.6.5 with 7.6.6 WFRS; AIX 5.2; WebSphere 6.1.0.15
Dev: WF 7.6.5 with 7.6.6 WFRS; AIX 5.3; WebSphere 6.1.0.15
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable
 
Posts: 1524 | Location: BNSF: Fort Worth, TX | Registered: April 05, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru
Posted Hide Post
minos4,

I believe the problem is that you left out the keyword FORMAT. It should be:

ON TABLE HOLD FORMAT COMT
ON TABLE HOLD FORMAT COMMA
ON TABLE HOLD FORMAT LOTUS
ON TABLE PCHOLD FORMAT LOTUS

This message has been edited. Last edited by: jgelona,


Prod WF 7.1.3 (z90/Suse Linux) DB (Oracle 10g), Self Serv, Report Caster, WebServer Win2003
 
Posts: 300 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
jgelona

That's why I asked to see the code, because I just assumed that was a typo.

It's not like me to be so in direct.
 
Posts: 930 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Yes JG, it was a typo. The XLS format does work, but not CSV.
Anyway, I found alternatives. Just saved the hold file onto harddisk forcefully named it *.CSV! And extract it later.


____________________
764_XP
 
Posts: 10 | Registered: September 23, 2008Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    [SOLVED] How to save file in CSV format? (version 764)

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