G
Guest
I have problem with a query not returning all matching records.
**** Design of Db******
I have three tables and three forms (Audits, Findings and Notes). Each form
feeds the namesake table.
I made the Notes form a subform of the Findings form as there are many notes
related to one finding and I wanted to datestamp notes. The Findings form
(w/ notes) is a subform of the Audits form as there are many findings within
any particular audit.
*****Issue details****
I created a simple query returning every field from the above tables. I
have no parameters set on the query, so it should return all the audits and
list the findings and any notes that apply.
It works Excellent as long as there is at least one set of notes for a
finding. If there are no notes for the finding, it will not show it. If an
audit has multiple findings, it only shows findings that contain a note. If
all the findings within an audit lack notes, the query does not return the
audit at all.
Testing reveals that if I occupy the notes field with a character, the audit
and finding will appear in the query. If I go back and delete the character,
the audit and finding continue to appear eventhough the notes field is blank.
I need the query to return all audits regardless of what may or may not be
in the notes field. Any help on this would be appreciated.
**** Design of Db******
I have three tables and three forms (Audits, Findings and Notes). Each form
feeds the namesake table.
I made the Notes form a subform of the Findings form as there are many notes
related to one finding and I wanted to datestamp notes. The Findings form
(w/ notes) is a subform of the Audits form as there are many findings within
any particular audit.
*****Issue details****
I created a simple query returning every field from the above tables. I
have no parameters set on the query, so it should return all the audits and
list the findings and any notes that apply.
It works Excellent as long as there is at least one set of notes for a
finding. If there are no notes for the finding, it will not show it. If an
audit has multiple findings, it only shows findings that contain a note. If
all the findings within an audit lack notes, the query does not return the
audit at all.
Testing reveals that if I occupy the notes field with a character, the audit
and finding will appear in the query. If I go back and delete the character,
the audit and finding continue to appear eventhough the notes field is blank.
I need the query to return all audits regardless of what may or may not be
in the notes field. Any help on this would be appreciated.