Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002
    Location
    Belgium
    Posts
    243

    Unanswered: use of option buttons

    I want to use option buttons.
    Therefore I created a group.
    The problem is that I want the option buttons to be based on the content of a table.
    That means : If my table contains 5 records --> I want 5 option buttons
    If my table contains an other number of records I want exactly the same number of option buttons.
    The labels of the option buttons should be retrieved from the table.
    Is this possible ?

    Thanks

  2. #2
    Join Date
    Feb 2002
    Posts
    403
    One approach that could work is to create an option group with the maximum number of options.

    (I have not looked so don't know if this is possible) Shrink each radio button and label to the smallest possible size. If they have the cangrow can shrink then enable that. Do the same with the group.

    Using code add each item to the group and resize to suit (if can grow does not work).

    It will take a bit of fooling around to make work, I usually try these type of ideas in a dedicated database first.

    HTH

Posting Permissions

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