[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] Excel Formating 2000
- Subject: Re: [sqr-users] Excel Formating 2000
- From: P Mroz <zstringer999@yahoo.com>
- Date: Mon, 6 Dec 2004 06:08:00 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Delivery-date: Mon, 06 Dec 2004 09:09:25 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;b=WfQAmUYKnf2Wrrfk3CvIOC0z8VyZHj6YrtI0vAYxKdAFIGj7Rhjjcac+dHTX4tSs+Jko2548MgjEeosgAtCovZb0i8cFdBbF/uTwoPRQwsCHopsuUJXTDM861hPjDBkR/V170wug16qwkdE0aGk3HOVgs4bi7dNFKah/4Xtfcco=;
- In-reply-to: <20041206131432.28255.qmail@webmail30.rediffmail.com>
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
I have had good results with Excel 2000 writing
tab-delimited files, and naming them with the
extension ".XLS". You can simply double-click on the
output files to open them with Excel. Excel is smart
enough to notice that they are tab-delimited, and
opens the files correctly without needing to go
through a wizard.
I have statements in my code like this:
#define XLS_OUT 1 ! Excel file output #
let $tab = chr(9)
let $xls_line = 'Hello' || $tab || 'World' || $tab
|| 'Its' || $tab || 'Me'
write {XLS_OUT} from $xls_line
--- p satheesh kumar <sathkumar_p@rediffmail.com>
wrote:
> Hello,
>
> I am doing integration from coldfusion to cgi and in
> cgi I am forming the sqr command and executing the
> same and creating the .csv file. What my problem is
> the comma seperated value(.csv) is able to open.
> When I am opening in Excel 2003 the formatting looks
> good. I mean all the comma is seperated with new
> column and results is displaying in each and every
> column in good manner.
>
> When I tried the same in Excel 2000. The results are
> coming in only one cell. ( I mean with comma as a
> seperator. It is not showing in different cell
> instead it is displaying with comma in only one cell
> e.g Microsoft Technologies, AL, Alabama).
>
> The code I used for forming and executing the sqr
> command is
> $sqrcommand1 =
> "sqrt $Rptsqr $UIDPWD -E$ErrorFile
> -F$FileName -PRINTER:EP -EH_CSV ".
> " ". "$QUERY_ID" ." ". " ".
> "\'". "$CLIENT_ID" ."\'". " ".
>
> " ". "$ID" ." ". " ".
> "\'". "$PARAMETER1" ."\'". " ".
> "\'". "$PARAMETER2" ."\'". " ".
> "\'". "$PARAMETER3" ."\'". " ".
> "\'". "$PARAMETER4" ."\'". " ".
> " 1>/var/tmp/lm 2>/var/tmp/lm1" ;
>
> Could somebody help me out.
>
> Thanks in advance,
> Satheesh.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users