I need to create requery that will list all addresses from tbladdress with the company name. If there is no company name (due to blind ads), it should list the CompanyID. In Query1 I added this calculated field:
But I keep getting the following syntax error:
Thanks for your help.
Code:
Company: IIf(IsNull[qryCompanyNameDefault]![CompanyNameTitle]),"Company ID " & [tblAddress]![CompanyID],[qryCompanyNameDefault]![CompanyNameTitle])
The expression you entered contains invalid syntax. You may have entered an operand without an operator.
Should I do this another way?
Thanks for your help.