G
Guest
Here's my dilemma.
I have three tables (Audits, Audit Results, Audit Scores). My main form
(based on Audits) has two subforms (AuditResults subform and AuditScores
subform).
When a user enters info into the main form, the subforms are both empty.
The AuditResults subform is populated by a query.
I want the button that launches this query to be enabled as long as the
AuditResults subform is empty. But, if the user opens the record at a later
date, I want the button to be disabled (preventing the user from accidentally
populating a 2nd set of records).
How do I check the subform and get a record count? Currently, I use the an
indepentend form with a field set to the following:
=Forms!Audits![AuditResults subform].Form.Count
I emptied all three tables and entered 1 set of records and this subform is
returning 22 (it should be returning 8).
Any ideas?
I have three tables (Audits, Audit Results, Audit Scores). My main form
(based on Audits) has two subforms (AuditResults subform and AuditScores
subform).
When a user enters info into the main form, the subforms are both empty.
The AuditResults subform is populated by a query.
I want the button that launches this query to be enabled as long as the
AuditResults subform is empty. But, if the user opens the record at a later
date, I want the button to be disabled (preventing the user from accidentally
populating a 2nd set of records).
How do I check the subform and get a record count? Currently, I use the an
indepentend form with a field set to the following:
=Forms!Audits![AuditResults subform].Form.Count
I emptied all three tables and entered 1 set of records and this subform is
returning 22 (it should be returning 8).
Any ideas?