S
Sue Compelling
Hi All
I've got myself horribly lost with my query - which potentially has 5 rows -
I only want to have a new line if the field has a value - though I end up
with gaps all over the place - no matter how well I butcher this code below
....
If you can help can you pls explain what I'm doing wrong with the + and &
(and should they go before or after the field that you want to check for a
value etc
TIA ...
VolDetails:
((Format([homephone],"""Home: (""@@) @@@-@@@@")))+Chr(13) & Chr(10)+
(Format([workphone],"""Work: (""@@) @@@-@@@@"))+Chr(13) & Chr(10)+
[workextension]+Chr(13) & Chr(10)+
(Format([faxnumber],"""Fax: (""@@) @@@-@@@@"))+Chr(13) & Chr(10)+
(Format([mobilephone],"!""Mobile: (""@@@) @@@-@@@@"))+Chr(13) & Chr(10)+
[emailname]
I've got myself horribly lost with my query - which potentially has 5 rows -
I only want to have a new line if the field has a value - though I end up
with gaps all over the place - no matter how well I butcher this code below
....
If you can help can you pls explain what I'm doing wrong with the + and &
(and should they go before or after the field that you want to check for a
value etc
TIA ...
VolDetails:
((Format([homephone],"""Home: (""@@) @@@-@@@@")))+Chr(13) & Chr(10)+
(Format([workphone],"""Work: (""@@) @@@-@@@@"))+Chr(13) & Chr(10)+
[workextension]+Chr(13) & Chr(10)+
(Format([faxnumber],"""Fax: (""@@) @@@-@@@@"))+Chr(13) & Chr(10)+
(Format([mobilephone],"!""Mobile: (""@@@) @@@-@@@@"))+Chr(13) & Chr(10)+
[emailname]