Hi there,
I have an ADDRESS field in on of the columns of the report. It is split up into 4 parts (lines). mostly the addresses just need 2 lines, the other two are empty.
When placing the items the address field takes, of course, the room for 4 lines.
Is there any trick to check whether a field is empty (using IIF or so) before the print?
Or do I have to merge the 4 lines in a query before the report?
In case this is the only option, how can I include a "Carriage Return".
If I use this:
IIf([AddressLine11]<>"",[AddressLine11]+Chr(13),"")+IIf([AddressLine12]<>"",[AddressLine12]+Chr(13),"") ...
then this comes out:
Collingwood HouseTraining & Education CentreHorton Road
Instead of the "Carriage Return" (to create a line break) a "" was added.
Does anyone knows to deal with this problem - either the first or the second way?
Thanks in advance, Michael.
I have an ADDRESS field in on of the columns of the report. It is split up into 4 parts (lines). mostly the addresses just need 2 lines, the other two are empty.
When placing the items the address field takes, of course, the room for 4 lines.
Is there any trick to check whether a field is empty (using IIF or so) before the print?
Or do I have to merge the 4 lines in a query before the report?
In case this is the only option, how can I include a "Carriage Return".
If I use this:
IIf([AddressLine11]<>"",[AddressLine11]+Chr(13),"")+IIf([AddressLine12]<>"",[AddressLine12]+Chr(13),"") ...
then this comes out:
Collingwood HouseTraining & Education CentreHorton Road
Instead of the "Carriage Return" (to create a line break) a "" was added.
Does anyone knows to deal with this problem - either the first or the second way?
Thanks in advance, Michael.