I have a subform which is linked to a combo box in the main form. This subform is pulling data from the underlying query.
For some selection in the combo box, the subform will return no data (shows dimmed subform), which is correct, because there's no data match.
However, I also have a textbox in the main form displaying a value of a field in the subform, exp. txt1 control source = subform1![field1].
As the selection returns no data, the text box displays #error.
Yet, I need it (textbox.value) to display/return 0 even there's no data return in the subform itself because the textbox.value is a part of a calculation field.
Anybody knows how it works?
Thanks ahead!
For some selection in the combo box, the subform will return no data (shows dimmed subform), which is correct, because there's no data match.
However, I also have a textbox in the main form displaying a value of a field in the subform, exp. txt1 control source = subform1![field1].
As the selection returns no data, the text box displays #error.
Yet, I need it (textbox.value) to display/return 0 even there's no data return in the subform itself because the textbox.value is a part of a calculation field.
Anybody knows how it works?
Thanks ahead!