Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to write to an Excel file on the server

Posted on 2003-11-18
4
Medium Priority
?
1,307 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 500 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

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

718 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