B
BZeyger
I am having a problem getting data to appear correctly.
I have a form which contains 3 subforms in the detail section. It is
designed to show the user data. It is not for editing. The subforms drive off
the same query but only display specific data.
Subform1 displays Art Hours
Subform2 displays Writing Hours
Subform3 displays QA Hours
Each subform contains the same fields and calculates the total number of
hours in each category. Such as the total number of Art hours, the total
number of Writing hours, and the total number of QA hours.
The main form retrieves the total amounts in text fields from the subforms:
txtTotalArtHours:
=([Subform1].[Form]![txtArtHoursTot])
txtTotalWritingHours:
=([Subform2].[Form]![txtWritingHoursTot])
txtTotalQAHours:
=([Subform3].[Form]![txtQAHoursTot])
This does pull info into the text fields as desired. However, if one of the
subforms does not have any information, I get a #Error in the text field.
How would I condition the text box to display “0†if there is not any value?
I have a form which contains 3 subforms in the detail section. It is
designed to show the user data. It is not for editing. The subforms drive off
the same query but only display specific data.
Subform1 displays Art Hours
Subform2 displays Writing Hours
Subform3 displays QA Hours
Each subform contains the same fields and calculates the total number of
hours in each category. Such as the total number of Art hours, the total
number of Writing hours, and the total number of QA hours.
The main form retrieves the total amounts in text fields from the subforms:
txtTotalArtHours:
=([Subform1].[Form]![txtArtHoursTot])
txtTotalWritingHours:
=([Subform2].[Form]![txtWritingHoursTot])
txtTotalQAHours:
=([Subform3].[Form]![txtQAHoursTot])
This does pull info into the text fields as desired. However, if one of the
subforms does not have any information, I get a #Error in the text field.
How would I condition the text box to display “0†if there is not any value?