Subform Causes Main Form to show same record Multiple times

  • Thread starter Thread starter jassnaround
  • Start date Start date
J

jassnaround

I have a form named PatientsInfo that is based on table Tbl_Patients. In
that form I have a subform that is based on table Tbl_FedPovertyLevel. I
have 2 fields from Tbl_FedPovertyLevel on the subform -- HouseholdMemberName,
HouseholdMemberIncome. When an additional HouseholdMember is entered into
the subform, it links to the Tbl_Patients correctly. But on the record
selector for the PatientsInfo main form, there are now several instances of
the same Patient based on how many HouseholdMembers I have entered into the
subform. I have to click the next record button several times until I see
the next Patient. I want only one instance of the PatientsInfo record to
show but with all of the HouseholdMembers showing. How can I fix this?
 
I have a form named PatientsInfo that is based on table Tbl_Patients. In
that form I have a subform that is based on table Tbl_FedPovertyLevel. I
have 2 fields from Tbl_FedPovertyLevel on the subform -- HouseholdMemberName,
HouseholdMemberIncome. When an additional HouseholdMember is entered into
the subform, it links to the Tbl_Patients correctly. But on the record
selector for the PatientsInfo main form, there are now several instances of
the same Patient based on how many HouseholdMembers I have entered into the
subform. I have to click the next record button several times until I see
the next Patient. I want only one instance of the PatientsInfo record to
show but with all of the HouseholdMembers showing. How can I fix this?

Doublecheck the Recordsource for the mainform. It certainly sounds like you
have the form based on a query joining Tbl_Patients and Tbl_FedPovertyLevel;
what you probably want is to have each form bound to its own table, or to a
query selecting and sorting records only from that table.
 
Back
Top