CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Wishes

 Wizard like output result data grids to Excel.

Print topic Send  topic

Author Message
longvu

Posts: 7
Posted: 02/17/2004, 6:08 AM

It would be nice if we can have a button in the design phase to include a feature to output the data to Excel, ACII or Word. :-) Sometimes visitor wants to download the data for further analysis.

View profile  Send private message
Navneet Kakkar
Posted: 02/17/2004, 9:57 AM

this wud be great, just an option to be checked in the builder and the code
is there.

i have been doing this manually, adding buttons to grids.
--
Thanks

luv

Navneet
aquananu@yahoo.com
9811153443
"longvu" <longvu@forum.codecharge> wrote in message
news:22403220533776e@news.codecharge.com...
> It would be nice if we can have a button in the design phase to include a
feature to output the data to Excel, ACII or Word. :-) Sometimes visitor
wants to download the data for further analysis.
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.590 / Virus Database: 373 - Release Date: 2/16/2004

Hennie
Posted: 02/25/2004, 3:07 AM

This would be brilliant
GeorgeS

Posts: 206
Posted: 03/27/2004, 5:33 PM

I agree.
YesSoftware, please, do Excel/CSV & Word export option!
_________________
GeorgeS
View profile  Send private message
peterr


Posts: 5971
Posted: 03/27/2004, 8:02 PM

This can be easily done already. It has been discussed many times on the forums.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
srinivas

Posts: 54
Posted: 03/31/2004, 9:54 AM

I haven't checked the forums to see how it is done before, but this is how I have done once before:

Edit the HTML template file and remove ALL THE EXTRANEOUS HTML as below:
  
<!-- BEGIN Grid MyGrid -->Issues List</h1>  
Issue Date	Associate	Last Name	First Name	Middle Name	Phone	Address1	Address2	City	State	Zip	SSN	Security Answer	MMN	PIN	Email	Phone Contact	Status  
<!-- BEGIN Row -->{IssueDate}	{Associate}	{LastName}	{FirstName}	{MiddleName}	{Phone}	{Address1}	{Address2}	{City}	{State}	{Zip}	{SSN}	{SecurityAnswer}	{MMN}	{PIN}	{Email}	{PhoneContact}	{Status}<!-- END Row -->  
<!-- BEGIN NoRecords -->No records<!-- END NoRecords -->  
<!-- END Grid MyGrid -->  

Please note the format of the template and how the ROWs are managed. This is taking advantage of the way CCS template processing works. Also I used "tab" to separate the fields.

And then in the CODE page, add this one line of code, after "End Initialize Page" and before "initialize Objects":

  
'End Initialize Page  
  
Response.ContentType = "application/vnd.ms-excel"  
  
'Initialize Objects @1-4544AD0B  

As I found out adding this line doesn't effect your ability to use CCS further on the page.

-Srinivas
View profile  Send private message

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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