franklinbukoski said:
The option group is definitely maintenance intense. However, when I switched
the control to a listbox, the listbox automatically populated all of the
correct data, to include updated rows when executed. I'm good and worried
now, so I'm going to research data dependant forms, etc... Being that the
listbox works without maintenance, I'm hoping I do not have this issue?
Perhaps I used the wrong term earlier, the individual rows don't change, but
they do increase in number.
I tried using a continuous subform with an option button and a label in the
detail section, but couldn't get the option button label to populate with the
data. The form just showed one button and a label that read Option0.
The concept of the database is a Question and Answer reference for work, the
startup page has a control that displays topics, upon selecting a topic a
subtopic populates in an adjacent control (listbox), upon selecting the
subtopic a question and answer subform becomes visible with records that can
be scrolled through.
Depending on what your table(s?) contain, the continuous
subform can be easier or harder to put together. I would
expect to use a table with the description of each object
(and maybe a sorting value) and Join that to the options
table to populate the subform. The continuous subform may
be prettier but the functionality would be very similar to a
list box.
I should probably explain what i meant by a data dependent
form design. First, note that a list box (or continuous
subform) is not data dependent because its very nature
accommodates an arbitrary number of records with no design
changes.
What you were trying to do by having a separate control
(option button) for each value in a table is a highly data
dependent design. Whenever a record is added to the options
table, you have to make a corresponding change to the form's
design, which raised your original question. Taken to an
extreme, there isn't enough space on a monitor to cover all
the possibilities (making a combo/list box an ideal
alternative).
A more insidious example is when you want to count the
number of records with a particular option. So, you add a
text box with an expression like:
=Sum(IIf(field = "option1", 1, 0))
Now you are digging a hole because you have a data value in
the expression. Instead an Id value that users never see
should be used so the data can be changed without affecting
the form's design.