Handling checkboxes, a question of style?

Discussion in 'ASP General' started by Sean S - Perth, WA, Oct 13, 2006.

  1. Hi all,

    I have an edit form for records that belong to numerous categories. Records
    are joined to categories with a join table in a many-to-many relationship.

    When displaying a record for editing I loop through the category recordset,
    looping through the entire join-table recordset for each category, to tick
    (or not) each checkbox as it's displayed.

    This seems like a costly way of populating checkboxes.

    Is there a more elegant solution?
    Sean S - Perth, WA, Oct 13, 2006
    1. Advertisements

  2. Sean S - Perth, WA

    Mike Brind Guest

    That's the way I do it, except that I use GetRows to put both recordsets
    into arrays. Then I do my looping.
    Mike Brind, Oct 13, 2006
    1. Advertisements

  3. Sean S - Perth, WA

    Firas Guest

    Hi, i really wish to help you.
    But could you please explain more about what you are doing and what do
    you want to be done?

    Best Regards
    Firas, Oct 13, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.