Ask a Question related to Coldfusion Database Access, Design and Development.
-
alagukannan #1
Cfdump tag
hi
I would like to change the style or format(colors) of the Cfdump tag.Is there anyway i can do it
Thx
Al
alagukannan Guest
-
problem with cfdump
How can I enable cfdump if it has been disabled by the administrator? -
cfdump on cfcatch
sometimes i can successfully cfdump the cfcatch variable. other times, when I try to dump it, it says "unknown type". any ideas what's up with... -
CFDUMP Export to Excell
My CO, just updated their server to 7.00 and as I go over he old reports I noticed that all the download that I was creating using cfdump have a... -
paross1 #2
Re: Cfdump tag
The cfdump tag Outputs variables for debugging purposes and is really intended for that purpose, not for formatted output. You should use tables, cfgrids, etc. for "production" type display purposes.
paross1 Guest
-
alagukannan #3
Re: Cfdump tag
Thx,
But can u give me an idea on how to use cfgrids or tables with procedure
results.
here is the code
<cfstoredproc datasource="intranet" procedure="test1" >
<cfprocresult name="result" resultset="1" >
<cfprocresult name="pub" resultset="2">
</cfstoredproc>
how to print the resultset
thx
AL
alagukannan Guest
-
paross1 #4
Re: Cfdump tag
The result sets returned from CFSTOREDPROC calls in the CFPROCRESULT tag are
"queries", so you can output them wherever you would use a query= parameter.
The CFPROCRESULT name= parameter is the name of the query:
<cfstoredproc datasource="intranet" procedure="test1" >
<cfprocresult name="result" resultset="1" >
<cfprocresult name="pub" resultset="2">
</cfstoredproc>
<cfoutput query="result">#field1# #field2#...etc.</cfoutput>
<cfoutput query="pub">#field1# #field2#...etc.</cfoutput>
Use in cfloop and cfgrid as well, using the query= parameter.
Phil
paross1 Guest



Reply With Quote

