Skip to main content
Known Participant
April 24, 2006
Answered

arrays,structures for reports

  • April 24, 2006
  • 1 reply
  • 339 views
arrays,structures for reports

I am about to start some reporting projects
For querying from the DB and outputting to a display page,
I was told that arrays, structures are useful for these projects.

I am white belt in CF and Web stuff.
Someone in the meeting has mentioned to me to use
Arrays
Structures
In my reports.


ARRAYS
· How can I use arrays to out put HTML records from an oracle query?

· How is it useful for displaying output (database)?

Also,

· What is the difference between 1 dimensional vs. 2 dimensional arrays?

· Cfdump? Do I need to use this?
STRUCTURES
How can I use Structures to these kinds of projects? With arrays

Thank you very much
This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Dan_Bracuk
Arrays and structures are potentially useful, but for simple jobs, like running a query and showing the results, they are an unnecessary complication.

To output data, use the <cfoutput> tag. If you don't know what that is, look it up in the cfml reference manual. If you don't have one, google it, complete with the angle brackets, followed by the version number of whatever version of cold fusion you are running. The correct part of the manual will probably be the first offering.

<cfdump> is a wonderful debugging tool. Use it extensively when developing your reports. However, while you can use it in your actual reports, you probably won't want to.

1 reply

Dan_BracukCorrect answer
Inspiring
April 24, 2006
Arrays and structures are potentially useful, but for simple jobs, like running a query and showing the results, they are an unnecessary complication.

To output data, use the <cfoutput> tag. If you don't know what that is, look it up in the cfml reference manual. If you don't have one, google it, complete with the angle brackets, followed by the version number of whatever version of cold fusion you are running. The correct part of the manual will probably be the first offering.

<cfdump> is a wonderful debugging tool. Use it extensively when developing your reports. However, while you can use it in your actual reports, you probably won't want to.