Solved

How to write to an Excel file on the server

Posted on 2003-11-18
4
1,302 Views
Last Modified: 2013-12-24
I can use CFCONTENT to write data to an Excel server. I can create an datasource and query an Excel table. But how can I insert data into an Excel file on the server?
0
Comment
Question by:kjuliff
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 250 total points
ID: 9773723
0
 
LVL 17

Expert Comment

by:anandkp
ID: 9776326
well if u can read thru excel sheet - then i guesss the same DSN shld help u to write to the excel file as well.

If ur using CFMX 6.1 - then in ur CFADMIN - under ur datasources - u'll see a option "advanced settings" - in that u have checkboxes for insert / update etc for the excel DSN. chk the ones u need & u shld be able to insert/update ur excel sheet on the server.

also u'll have another checkbox there "maintain connection" - make sure this is UNCHECKED !

ur insert query to the excel sheet will be as similar as the one to any DB Table ...

HTH

K'Rgds
Anand
0
 
LVL 17

Expert Comment

by:anandkp
ID: 9776327
well if u can read thru excel sheet - then i guesss the same DSN shld help u to write to the excel file as well.

If ur using CFMX 6.1 - then in ur CFADMIN - under ur datasources - u'll see a option "advanced settings" - in that u have checkboxes for insert / update etc for the excel DSN. chk the ones u need & u shld be able to insert/update ur excel sheet on the server.

also u'll have another checkbox there "maintain connection" - make sure this is UNCHECKED !

ur insert query to the excel sheet will be as similar as the one to any DB Table ...

HTH

K'Rgds
Anand
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 9782393
A "C", if you didn't like my comment you shouldn't accept it as an answer.

It was just for reference.

CJ
0

Featured Post

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now