Access 97
I have a textbox on a report that displays text from a field on a form (frmSubForm). That field gets its text from a table called tblComments. The actual record from which to display, is determined from the RecordSource of frmSubForm.
The textbox on the report has the following control source:
=[Forms]![frmMain]![frmSubForm]![Comment]
This works nicely whenever a there is a record in tblComments, but if there is no record, it returns #Error
I would prefer that the textbox just displays nothing as opposed to #Error. Any ideas?
I have a textbox on a report that displays text from a field on a form (frmSubForm). That field gets its text from a table called tblComments. The actual record from which to display, is determined from the RecordSource of frmSubForm.
The textbox on the report has the following control source:
=[Forms]![frmMain]![frmSubForm]![Comment]
This works nicely whenever a there is a record in tblComments, but if there is no record, it returns #Error
I would prefer that the textbox just displays nothing as opposed to #Error. Any ideas?