CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 export to excel or word

Print topic Send  topic

Author Message
Rookie
Posted: 11/07/2003, 8:30 AM

Hi,
where can i find the code to do this?

Robert Rodgers
Posted: 11/08/2003, 7:11 AM

I have some up on my site.

www.sylvancomputing.com/ccs

rob
"Rookie" <pcboss1976@hotmail.com> wrote in message
news:boghbk$539$1@news.codecharge.com...
> Hi,
> where can i find the code to do this?
>
>

DonB
Posted: 11/08/2003, 8:04 AM

You don't say exactly what you are trying to do, but it is also possible to
change the content-type of your page to tell the browser it is Excel (or
something else). Then the browser knows it can handle the page as a
spreadsheet (or somethng else).

In the ASP world this involves assigning a valid content-type (string) to
the Response.ContentType property, so there is not much code really. The
"trick" to being successful with this is - you MUST set the content-type
before ANY output is produced (i.e., do this in the very first line of your
ASP code). I put in a request to YesSoftware asking them to consider
making this a bit more "native" since outputting XML (vs. HTML) would be
very handy if it was simply a property you could set.

I have a pointer to info regarding the content-type values here:
http://www.gotodon.com/ccbth/Features/Knowledgebase.asp?find=content

--
DonB

http://www.gotodon.com/ccbth


"Robert Rodgers" <robert@sylvancomputing.com> wrote in message
news:boj125$v6a$1@news.codecharge.com...
> I have some up on my site.
>
> www.sylvancomputing.com/ccs
>
> rob
> "Rookie" <pcboss1976@hotmail.com> wrote in message
>news:boghbk$539$1@news.codecharge.com...
> > Hi,
> > where can i find the code to do this?
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.