On my Access 97 form 'frmGroup' I am populating text boxes using a subform 'frmSelections', who source is a query 'qryProductCostTypeA'.
When qryProductCostTypeA is empty, frmSelections comes up blank and so the textboxes on frmGroup are populated with the '#Error' message.
An IIF statement using the 'Is Null' statement will not work on the text boxes on frmGroup as the '#Error' message is in the box.
All I want is for the textboxes to have the value '0' when the query/subform is null, so that I can do a calculation on the text box.
Can anyone help?
When qryProductCostTypeA is empty, frmSelections comes up blank and so the textboxes on frmGroup are populated with the '#Error' message.
An IIF statement using the 'Is Null' statement will not work on the text boxes on frmGroup as the '#Error' message is in the box.
All I want is for the textboxes to have the value '0' when the query/subform is null, so that I can do a calculation on the text box.
Can anyone help?