Solved

How to correctly format the info for   CSVFormat(query [, qualifer] [, columns]) UDF to get a output

Posted on 2009-07-09
2
192 Views
Last Modified: 2013-12-24
Expert Needed.
This UDF is CSVFormat(query [, qualifer] [, columns])
How do I transalte that to my
query=MyQ  - no qualifier, [ headernames],[collumns])
<cfoutput>#CSVFormat(MyQ,"",[FirstName,LastNAme],[FirstName,LastNAme])#</cfoutput>

I get this:
Missing argument name.  
When using named parameters to a function, every parameter must have a name.
The CFML compiler was processing:

An expression beginning with CSVFormat, on line 100, column 12.This message is usually caused by a problem in the expressions structure.
The body of a cfoutput tag beginning on line 100, column 2.
The body of a cfoutput tag beginning on line 100, column 2.
The body of a cfoutput tag beginning on line 100, column 2.
 

<cfoutput>#CSVFormat(MyQ,"",[FirstName,LastNAme],[FirstName,LastNAme])#</cfoutput>

Open in new window

0
Comment
Question by:LeadCo
2 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 24817074
just a guess as not used that udf but trying leaving off the "" for qualifier the udf probably handles a default

you also might try

#CSVFormat(MyQ,"FirstName,LastNAme")#

0
 

Author Closing Comment

by:LeadCo
ID: 31601704
Thanks!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

776 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