Conditional Table Row

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Conditional Table Row

    I have a query that has records that have a group value: Group A, Group B,
    Group C, etc.

    I want to have a repeating region conditionally show the table row if the
    group value when it has changed. Can this be done? I am looking for the
    following result. I am assuming you could set a variable to hold the current
    group and then use an if statement of some type to see if the group for the
    current record was different from the saved value. If so, display the group
    table row, if not skip it.

    Group A
    Item 1
    Item 2
    Group B < conditionally show so that it only shows once for each new group >
    Item 1
    Item 2

    Could someone give me a pointer on this...

    Thanks,

    David

    dwb67 Guest

  2. Similar Questions and Discussions

    1. Conditional query
      <CFQUERY NAME='qGetDetailThumbs' DATASOURCE='va_db'> Select hotelId, name, supplier, url, thumbnailurl FROM hotel_images WHERE hotelId =...
    2. Conditional List Box in ASP
      Hi there, I am having a few problems compiling a list box that is conditional on what is selected in another list box. What i need is a List box...
    3. Conditional setfocus
      "Mike Mueller" <mikemueller@ecinet.net> wrote: Mike, do you actually have table fields for each month for 2 years in one record? If so, you...
    4. Conditional sum?
      FMP6, MacOSX.2 I've created a calc field using the aggregate Sum(score) to give me a "total points scored" for all related records in a...
    5. Could not load type VTFixup Table from assembly Invalid token in v-table fix-up table.
      We are getting this error after clearing the web.config of database infomation - even after using the wizard to re-enter the information. I could...
  3. #2

    Default Re: Conditional Table Row

    Is sounds like you want to do "nested repeats".
    Do a google search for nested repeats, and you should find what you are
    looking for.

    I believe there are some extensions as well to do this from Tom Muck

    [url]http://www.tom-muck.com/extensions/help/simulatednestedregion/[/url]







    "dwb67" <webforumsuser@macromedia.com> wrote in message
    news:cv80ir$d2g$1@forums.macromedia.com...
    >I have a query that has records that have a group value: Group A, Group B,
    > Group C, etc.
    >
    > I want to have a repeating region conditionally show the table row if the
    > group value when it has changed. Can this be done? I am looking for the
    > following result. I am assuming you could set a variable to hold the
    > current
    > group and then use an if statement of some type to see if the group for
    > the
    > current record was different from the saved value. If so, display the
    > group
    > table row, if not skip it.
    >
    > Group A
    > Item 1
    > Item 2
    > Group B < conditionally show so that it only shows once for each new group
    > >
    > Item 1
    > Item 2
    >
    > Could someone give me a pointer on this...
    >
    > Thanks,
    >
    > David
    >

    Anthony Brown 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