Link to home
Start Free TrialLog in
Avatar of LeadCo
LeadCo

asked on

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

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

ASKER CERTIFIED SOLUTION
Avatar of SidFishes
SidFishes
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LeadCo
LeadCo

ASKER

Thanks!