CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Writing search results to a text file or Word

Print topic Send  topic

Author Message
Dunkie
Posted: 06/03/2003, 10:00 AM

Hi,

I was experimenting with CCS 2.0.6 and text files. I'm able to create a text file on the click of a button. However, when I attempt to use CCGetParam to pull out values from a DB to be able to write into the text file. I don't make much headway.

Any chance someone has a solution for this and/or writing search results to a word document? (like a client invoice, statement etc)?

Regards,
Dunkie
rclayh
Posted: 06/03/2003, 5:17 PM

First, you don't specify what platform you are developing on but..

Depending on which version you are using, you can open http://www.mydomain.com/mydocument.html directly in Word. So you could just create a regular html document (or whatever) and word will open it - even off of the Internet.

You can set the MIME type of the page as it downloads to .doc (search google) and it will open in word or if you don't have word installed ask if you want to save it.

Hope this helps.
Dunkie
Posted: 06/14/2003, 6:10 AM

Hi "Rclayh"

Thanks for your suggestion.

I'm developing in CCS205, IIS5, MSSQL 2K, Win2K.

I tried the bit of word but it distorts the file layout hence I was keener on chasing the plain text file option by writing search results directly to the text file.

Any help most appreciated.

Regards,
Dunkie

   


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.