Table name : Personnel_details (name_id,personnel_name dob, position)
: Section ( name_id ,personnel_name, section)
Query name : section_query (position_name, position, section)
Form name : Form1
First, I create a new blank form and create a combo box contains personnel name from personnel table. Then create command button named Report.
To open a report and restrict its records to those
specified by the value of a control on a form, use the following expression :
[fieldname] = Forms![formname]![controlname on form]
Ex: [sectionquery]![personnelname] =
Forms![Form1][Command0]


