Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. problem with cfdump
      How can I enable cfdump if it has been disabled by the administrator?
    2. 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...
    3. 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...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139