Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    May 2002
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    automatic option group (xp/2k)

    I have a classroom scheduling program that uses two combo boxes, one for building, one for room, to view the schedule for that room on a given day. The room field requeries when the building field changes, and so there are different numbers of rooms listed depending on the building choice. Currently you can select one room, or a whole building, but I need more control than that and need to allow random numbers of selections at a time. So I figured a multiple selection option group, but I would prefer to have a few simple lines of code to change the number of buttons in the group and their labels whenever the building changes. I'd also like to be able to do multiple buildings and rooms, but would settle at this point for one at a time. Does anyone know if this is possible? It seems like it must be pretty standard stuff, but so far I'm having no luck. <img src=/S/dizzy.gif border=0 alt=dizzy width=15 height=15>

  2. #2
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    NYC,USA,Earth
    Posts
    273
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: automatic option group (xp/2k)

    Instead of an option group how about a multi-select listbox? Instead of changing the number of buttons you just change the rowsource property and requery on the fly.

Posting Permissions

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