macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Making a query object with only certain columns?

Subject: Making a query object with only certain columns?
From: "Vugof"
Date: Thu, 18 Sep 2008 21:55:40 +0000 UTC
Newsgroups: macromedia.coldfusion.advanced_techniques

I need to make several identical charts, each using the same columns, say 
"name" and "age".  I figured I could use a makeChart(query) function for this.  
The trick is, I need to ensure each query I pass in contains the variables 
"name" and "age".

 Rather than have the app blow up when I dont have the right column names, I 
figured I could have makeGraph() only accept a custom query object containing 
"name" and "age" as columns.  Then when I run all my queries, I can copy the 
results into this query object and pass that to the makeChart() function.  Is 
this possible?


<Prev in Thread] Current Thread [Next in Thread>