R
ragsman via AccessMonster.com
I've been searching this site for a simple explanation of what I want to
accomplish, but I can't seem to find it.
I have a form with a subform in it (database view), and I would like to look
up records that match a criteria and have the subform display all of the
records that match this criteria.
Specifically, I'd like a textbox or combo box to look for all records that
are from the same state, and have it display all of the matching records in
the subform.
I have gotten it to work somewhat, with the combobox being populated with ALL
of the values in the 'State' field, and when the state is selected it shows
the right record, but it shows every single state record in the combobox
(each state repeated multiple times). I want to only have each state show up
once in the combo box then ALL the records that match the state show up in
the subform. What is the basic concept needed to accomplish this?
the table is 'prosmembers' the state field is 'HOME_STATE', and each record
has an autonumber primary key named 'ID_number'
Thank you,
Mark
accomplish, but I can't seem to find it.
I have a form with a subform in it (database view), and I would like to look
up records that match a criteria and have the subform display all of the
records that match this criteria.
Specifically, I'd like a textbox or combo box to look for all records that
are from the same state, and have it display all of the matching records in
the subform.
I have gotten it to work somewhat, with the combobox being populated with ALL
of the values in the 'State' field, and when the state is selected it shows
the right record, but it shows every single state record in the combobox
(each state repeated multiple times). I want to only have each state show up
once in the combo box then ALL the records that match the state show up in
the subform. What is the basic concept needed to accomplish this?
the table is 'prosmembers' the state field is 'HOME_STATE', and each record
has an autonumber primary key named 'ID_number'
Thank you,
Mark