RexesOperator
Registered User.
- Local time
- Today, 08:30
- Joined
- Jul 15, 2006
- Messages
- 604
I found this code by stopher and a variation of it that Bob Larson gave me (I use it to sovle a different problem):
FullAddress:
([AddressLine1]+(Chr(13) & Chr(10))) &
([AddressLine2]+(Chr(13) & Chr(10))) &
([AddressLine3]+(Chr(13) & Chr(10))) &
([AddressCity]+(Chr(13) & Chr(10))) &
([AddressCounty]+(Chr(13) & Chr(10)))&
([AddressPostcode]+(Chr(13) & Chr(10)))&
([AddressCountry]+(Chr(13) & Chr(10)))
It works fine for the most part, but how do I control punctuation?
For example "Toronto, Ontario. Canada". Or "Belfast, Northern Ireland" when there is no province/sate/county?
FullAddress:
([AddressLine1]+(Chr(13) & Chr(10))) &
([AddressLine2]+(Chr(13) & Chr(10))) &
([AddressLine3]+(Chr(13) & Chr(10))) &
([AddressCity]+(Chr(13) & Chr(10))) &
([AddressCounty]+(Chr(13) & Chr(10)))&
([AddressPostcode]+(Chr(13) & Chr(10)))&
([AddressCountry]+(Chr(13) & Chr(10)))
It works fine for the most part, but how do I control punctuation?
For example "Toronto, Ontario. Canada". Or "Belfast, Northern Ireland" when there is no province/sate/county?