質問
could someone give me some ASP help please?
Hello, I'm useless at coding, so would be very grateful if
someone could
help me with this piece of ASP code.
I've got a recordset which returns records with the following fields:
CategoryName, ForumName, Last_Entry_Date.
There are many ForumNames to one CategoryName
I was using Tom Muck's simulated nested repeat which on the surface was
doing the job, but it gave me problems when it came to styling the table
because it gives me extra table rows.
I would like to put each category in a separate table. E.g.
Table header: Category Name 1
Table row: Forum 1 Last_Entry_Date
Table row: Forum 2 Last_Entry_Date
Table row: Forum 3 Last_Entry_Date
Table header: Category Name 2
Table row: Forum 4 Last_Entry_Date
Table row: Forum 5 Last_Entry_Date
Table row: Forum 6 Last_Entry_Date
I guess I need to say for each category write a table with the category
name in the table header cell, then have a repeat region to display the
list of forums for that category, but I don't know how to write this loop.
Can anyone help me please?
Thanks
Vix
help me with this piece of ASP code.
I've got a recordset which returns records with the following fields:
CategoryName, ForumName, Last_Entry_Date.
There are many ForumNames to one CategoryName
I was using Tom Muck's simulated nested repeat which on the surface was
doing the job, but it gave me problems when it came to styling the table
because it gives me extra table rows.
I would like to put each category in a separate table. E.g.
Table header: Category Name 1
Table row: Forum 1 Last_Entry_Date
Table row: Forum 2 Last_Entry_Date
Table row: Forum 3 Last_Entry_Date
Table header: Category Name 2
Table row: Forum 4 Last_Entry_Date
Table row: Forum 5 Last_Entry_Date
Table row: Forum 6 Last_Entry_Date
I guess I need to say for each category write a table with the category
name in the table header cell, then have a repeat region to display the
list of forums for that category, but I don't know how to write this loop.
Can anyone help me please?
Thanks
Vix
