Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default Re: CFLOOP & Form input

    Try looping through the GetJobs query like this:


    <cfloop from="1" to="#GetJobs.recordcount#" index="i">

    <!---To read the data in GetJobs e.g.--->

    <cfset dataInThisRecord = GetJobs["columnName"][i]>
    </cfloop>

    Replace columnName with the actual name of the column you want from the
    list in the SELECT line in the original query.

    Doug
    doug777 Guest

  2. Similar Questions and Discussions

    1. CFloop through Form results
      I'm trying to set a value of 1 or 0 if any Radio on a form submission (loop) is labeled 'OutofService'. The form is looped by Radio_ID. The...
    2. Reference Form Fields in CFLOOP
      Ok, I admit...up until yesterday I had only heard of ColdFusion and never used it. But my boss gave me an assignment due tomorrow and I'm...
    3. #25676 [Opn]: Form hidden input ouput when any form=* is in url_rewriter.tags
      ID: 25676 Updated by: davey@php.net Reported By: davey@php.net Status: Open Bug Type: Session related...
    4. #25676 [Bgs->Opn]: Form hidden input ouput when any form=* is in url_rewriter.tags
      ID: 25676 Updated by: davey@php.net Reported By: davey@php.net -Status: Bogus +Status: Open Bug...
    5. #25676 [NEW]: Form hidden input ouput when any form=* is in url_rewriter.tags
      From: davey@php.net Operating system: WinXP/FreeBSD PHP version: 4CVS-2003-09-26 (stable) PHP Bug Type: Session related Bug...
  3. #2

    Default Re: CFLOOP & Form input

    Hi Doug - Thank you for the reply. <SELECT class="clSelect"
    id="ForApplicantState" name="#JOB_ID#" required="0"> The name is no longer
    dynamic #JOB_ID# it stays the same, If this makes sense... With this said the
    update is broken... Any Ideas? Thank you again.

    1CFDude Guest

  4. #3

    Default Re: CFLOOP & Form input

    Hi Doug - Thank you for your reply it helped me think a little harder!!! I got it.
    1CFDude 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