G
George
frmMain has a qryResult query definition as a recordsource that contains two
relevant fields plus additional fields. Another table is linked to one of
the additional fields also contained in qryResult. These display reference
information or record survey results on frmMain.
field1 = Section contains a series of numbers from 1 to 13
field2 = Question contains a series of numbers from 1 to 273. These occur
in pairs generated by the cartesian product = 3,549 records. All pairs are
unique. The form is a survey questionair that asks each of 13 responders an
identical set of 273 questions about the status of various items.
cboSection is an unbound combo box.
field1 = SectionID (Autonumber 1 to 13)
field2 = Section (description)
I want the user to select his section via cboSection which displays
[Section] and should limit qryResult to his subset of 273 questions.
cboSection works but qryResult can't find it.
frmMain displays 3,549 records in the record selector when no section is
selected but should only display 273 records if any section has been
selected. When cboSection is changed the subset displayed should also
change (a different group of 273).
How do I code this to work with cboSection? I assume that something has to
go into the Criteria field that limits qryResult to the value of cboSection.
I haven't figured out the right code to add so this will work. All I get in
the record selector is 1 record with nothing displayed.
relevant fields plus additional fields. Another table is linked to one of
the additional fields also contained in qryResult. These display reference
information or record survey results on frmMain.
field1 = Section contains a series of numbers from 1 to 13
field2 = Question contains a series of numbers from 1 to 273. These occur
in pairs generated by the cartesian product = 3,549 records. All pairs are
unique. The form is a survey questionair that asks each of 13 responders an
identical set of 273 questions about the status of various items.
cboSection is an unbound combo box.
field1 = SectionID (Autonumber 1 to 13)
field2 = Section (description)
I want the user to select his section via cboSection which displays
[Section] and should limit qryResult to his subset of 273 questions.
cboSection works but qryResult can't find it.
frmMain displays 3,549 records in the record selector when no section is
selected but should only display 273 records if any section has been
selected. When cboSection is changed the subset displayed should also
change (a different group of 273).
How do I code this to work with cboSection? I assume that something has to
go into the Criteria field that limits qryResult to the value of cboSection.
I haven't figured out the right code to add so this will work. All I get in
the record selector is 1 record with nothing displayed.