Solved

export an array(quickie)

Posted on 2002-03-21
6
148 Views
Last Modified: 2013-12-24
yo-0

<cffile action="READ" file="C:\WINNT\Profiles\duncan\Desktop\BCS_Attend.txt" variable="bsc">

<CFSET bcsarray = ListToArray(bsc)>
<cfoutput>
#bcsarray#<br>
</cfoutput>
<cfoutput>
#bsc.recordcount#

wont export the array- help???
0
Comment
Question by:owlsey
[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
  • 3
  • 3
6 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 10 total points
ID: 6886567
try
<cfset bscarray = ListToArray(bsc, "#chr(10)##chr(13)#")>

CJ
0
 

Author Comment

by:owlsey
ID: 6886571
q- in asp OpenAsTextStream- i use dhte vbcrlf to signify the line return- does this work in CF?

thansk CheekY!
0
 

Author Comment

by:owlsey
ID: 6886572
q- in asp OpenAsTextStream- i use dhte vbcrlf to signify the line return- does this work in CF?

thansk CheekY!
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 19

Expert Comment

by:cheekycj
ID: 6886578
chr(10) and chr(13) cover both linefeed and carriage return chars.

CJ
0
 

Author Comment

by:owlsey
ID: 6886631
rock so hard you cannae rock nae harder!
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 6886718
Thanx, glad I could help.

CJ
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

752 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