writing db record to tables (wrapping and spanning rows)

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default writing db record to tables (wrapping and spanning rows)

    Hi, I have a dataset where each record contains a persons name and
    filename of their picture. I want to write a row of five names, then a
    row containing there pictures, then a blank row, and then the next
    five names, etc. Kinda like this:

    Row 1 Name1 Name2 Name3 Name4 Name5
    Row 2 Pic 1 Pic 2 Pic 3 Pic 4 Pic 5
    Row 3
    Row 4 Name 6...


    There must be a fairly easy way to do this in ASP, but my brain is
    locking up. Any ideas?
    Martin Guest

  2. Similar Questions and Discussions

    1. Spanning tables
      Hi ALL, Im wondering sooner or later my disk will be filled-up by postgres's data.. Can anyone give some suggestion on how to deal with this. ...
    2. Response.Writing Rows based on If Staments
      Hi All, been away from developing, if you can call what I do that, and am stumped already..lol..see code below. I'm trying to get each row to...
    3. ASP form writing to multiple DB tables.
      I'm new to Access and ASP pages, but so far I have been doing OK. This one has me stumped. What I am trying to do is have an ASP form with several...
    4. Updating number of rows in tables
      Hello, I want to write a script that will display a table with a number of rows the user wants. Example, I go to a page and need 30 rows, I press...
    5. Comparing rows in 2 tables
      Jake wrote: Why? Why not use the solution you have in hand that works? Daniel Morgan
  3. #2

    Default Re: writing db record to tables (wrapping and spanning rows)


    "Martin" <mbarron2896@earthlink.net> wrote in message
    news:64e6c521.0310091603.390fb004@posting.google.c om...
    > There must be a fairly easy way to do this in ASP, but my brain is
    > locking up. Any ideas?
    What have you tried so far and where are you stuck?

    Ray at home


    Ray at Guest

  4. #3

    Default Re: writing db record to tables (wrapping and spanning rows)

    show us what you got so far...


    "Martin" <mbarron2896@earthlink.net> wrote in message
    news:64e6c521.0310091603.390fb004@posting.google.c om...
    > Hi, I have a dataset where each record contains a persons name and
    > filename of their picture. I want to write a row of five names, then a
    > row containing there pictures, then a blank row, and then the next
    > five names, etc. Kinda like this:
    >
    > Row 1 Name1 Name2 Name3 Name4 Name5
    > Row 2 Pic 1 Pic 2 Pic 3 Pic 4 Pic 5
    > Row 3
    > Row 4 Name 6...
    >
    >
    > There must be a fairly easy way to do this in ASP, but my brain is
    > locking up. Any ideas?

    Hannibal Guest

  5. #4

    Default Re: writing db record to tables (wrapping and spanning rows)

    Thanks to all but my brain unfroze last night.

    What I ended up doing is using two arrays. I stored five records into
    the two arrays, wrote the two rows, and then looped around to do it
    again (with if-thens scattered within to make sure I hadn't reached
    eof)


    "Hannibal" <Dominique@webadstudio.com> wrote in message news:<uafWaQxjDHA.2000@TK2MSFTNGP12.phx.gbl>...
    > show us what you got so far...
    >
    >
    > "Martin" <mbarron2896@earthlink.net> wrote in message
    > news:64e6c521.0310091603.390fb004@posting.google.c om...
    > > Hi, I have a dataset where each record contains a persons name and
    > > filename of their picture. I want to write a row of five names, then a
    > > row containing there pictures, then a blank row, and then the next
    > > five names, etc. Kinda like this:
    > >
    > > Row 1 Name1 Name2 Name3 Name4 Name5
    > > Row 2 Pic 1 Pic 2 Pic 3 Pic 4 Pic 5
    > > Row 3
    > > Row 4 Name 6...
    > >
    > >
    > > There must be a fairly easy way to do this in ASP, but my brain is
    > > locking up. Any ideas?
    Martin 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