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
|
|
|
 |
|