Can't you just set the array up like this?

<cfset fund_ar = ArrayNew(1)>

<cfset fund_ar[1] = "The Dean's Fund">
<cfset fund_ar[2] = "Health and Society Visiting Professorship">
<cfset fund_ar[3] = "Jerry Wrenn Scholarship">
<cfset fund_ar[4] = "Kinesiology Gift Fund">

You also could use a key, value pair... such as just putting "1" in the
radio button then using a lookup for the array.  Passing the whole
string from the radio button does not seem necessary or practical in
this instance.  Good luck!


Ryan Duckworth 
Macromedia ColdFusion Certified Professional 

Uhlig Communications 
10983 Granada Lane 
Overland Park, KS 66211 
(913) 754-4272


-----Original Message-----
From: Daniel Kessler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 2:57 PM
To: CF-Talk
Subject: breaking a line of code to two lines

I need to break a line of code onto a second line while keeping it as 
a line of code.  I have the following array and when I use the value 
"Jerry Wrenn Scholarship" as a value in a radio button, when I 
retrieve the value from the db, it doesn't match the original value 
in an CFIF statement.  When I make it all on on line, the CFIF works 
fine.  How do I do this sort of soft-return?

<cfset fund_ar = listToArray("The Dean's Fund,Health and Society 
Visiting Professorship,
Jerry Wrenn Scholarship,Kinesiology Gift Fund)

In the example above, I've shortened the entries.  I need this to 
make the code manageable.

-- 
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188470
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to