Punctuation in Addresses

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?
 
You can use the + character to be able to add it in if they exist. So, like:

+ ","
 
Cool - works like a charm.

God I'm gald I found this forum
 

Users who are viewing this thread

Back
Top Bottom