Dynamic Grouping

Results 1 to 2 of 2

Thread: Dynamic Grouping

  1. #1
    Join Date
    Dec 1969

    Default Dynamic Grouping

    The usual grouping is for a category with a subcategory. But I have a variable number of categories, which may have 1-20 subcategories.<BR><BR>The usual method to group is using<BR>priorcat=""<BR>Do Until RS.EOF<BR> curCat = RS("CategoryName")<BR> If curCat &#060;&#062; priorCat Then<BR>Response.Write RS("CategoryDescription")<BR> priorCat = curCat<BR> End If<BR><BR><BR>Which doesn&#039;t help my case -- because it reads the first subcategory and then goes to the next row of my table for the next subcategory of another category

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Explain again

    what you want to do...maybe even give an example.<BR><BR>

Posting Permissions

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