A Query in a church database has the following column.
This should, for example, produce the following results is there is no apartment in the address:
14 Nelson ST
or, this result if there is an apartment:
1002 - 14 Nelson ST
However, on the odd occasion what is produced when there is no apartment number is this:
- 14 Nelson ST
Any idea as to what is causing the problem?
Thanks.
Tom
Code:
AddressCheck: IIf(IsNull([AptNbr]),"",[AptNbr] & " - ") & [tblTrinity].[HouseNbr] & " "+[tblTrinity].[Street] & IIf(IsNull([Address2]+[tblTrinity].[Street]),"",Chr(13)+Chr(10)) & [Address2]
This should, for example, produce the following results is there is no apartment in the address:
14 Nelson ST
or, this result if there is an apartment:
1002 - 14 Nelson ST
However, on the odd occasion what is produced when there is no apartment number is this:
- 14 Nelson ST
Any idea as to what is causing the problem?
Thanks.
Tom