ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 2nd, 2005, 10:34 AM
DerekJR321 DerekJR321 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 2 DerekJR321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 4 sec
Reputation Power: 0
Help With CF and XLS files

Hey all,

This is my first time posting here. Normally I just search google to death for an answer to my problem but this one is stumping me.

I have a page that dynamically creates an XLS output for a customer. However what I need it to do, is create the XLS file, save it on the server (not display it) and then attach it in an email using CFMAIL. I know "how" to create the XLS, I know "how" to add attachments in CFMail. What I am having a difficult time with is saving the XLS "FOR" attaching the file.

I'm running into two problems.. one is that im not sure how to save files on the server in this manner, and two im concerned with the fact that if two or more users are using the application at the same time, they aren't going to get the correct output.

Can anyone offer any advice on this one? Thanks.

Derek

Reply With Quote
  #2  
Old September 2nd, 2005, 10:44 AM
DerekJR321 DerekJR321 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 2 DerekJR321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 4 sec
Reputation Power: 0
Well i found part of my answer via the search function here:

http://forums.devshed.com/t144803/s.html&highlight=excel

However that still leaves the problem of reports possibly getting duplicated. I tried using a variable to save the report name, and then just attach the file based on the variable but for some reason the variable is causing a cf error. And i do have <cfoutput> around it so i know that is not the issue.


Derek

Reply With Quote
  #3  
Old September 2nd, 2005, 12:04 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,682 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 15 h 42 m 54 sec
Reputation Power: 53
Without seeing the code it is impossible to judge the problem. Are you saving an illegal file name?
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Help With CF and XLS files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT