Re: Oh, Canada! Mailing address issues.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Stephanie

I guess as the saying goes "I am Canadian"

Hi Stephanie

Yes .... Ottawa is a City, ON can be considered a state (however us
northerners call it a Province - Ontario to be exact) and the K1A 0B1
(letter number letter, number letter number) can be considered a zip
code/postal code.

Your idea for showing the new label is a good one but not really necessary
unless you are using an input mask for the US postal code formats which are
five numbers hyphen four numbers which really makes it more of a data entry
problem than a label problem. It is called a postal code, the same as what
you appear to be using now.

I believe I have some code kicking around here somewhere which will handle
the formatting of either a Canadian or American postal code on the lostfocus
event of the form textbox if you would like it. I live in a bordertown and
it is necessary in nearly every application I build.

I hope this helps

Debra


"Stephanie" <Stephanie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:68CCCF54-8EBE-429C-9689-B1653E1A424D@xxxxxxxxxxxxxxxx
> Greetings! I have a nifty form for entering Contacts and their addresses.
> My form is adaptable for primary and secondary addresses, by chosing the
> appropriate flag.
> Now I need to modify my setup to include Canada. I've included my mailing
> label query to show field names.
>
> The post office shows Canadian addresses as such:
> MS HELEN SAUNDERS
> 1010 CLEAR STREET
> OTTAWA ON K1A 0B1
> CANADA
>
> I'd appreciate any suggestions to handle:
> OTTAWA ON K1A 0B1
> CANADA
>
> Could I consider OTTAWA as a City in my format, ON as a State in my
format?
> I guess I could have a field for Country that defaults to United States,
but
> if Canada is selected, have a field visible for K1A 0B1... The new label
> query scares me. One step at a time! I'd appreciate any suggestions for
> incorporating Canada into my address form. Thanks.
>
> My query:
> Nz(c1.ContactNickName,c1.ContactFirstName) & " " & c1.ContactLastName AS
> ContactName, IIf([AddressFlag]=1,c1.MailingAddress1 & ",
> "+c1.OptAddress1,c1.MailingAddress2 & ", "+c1.OptAddress2) AS Address,
> IIf([AddressFlag]=1,c1.City1,c1.City2) AS City,
> IIf([AddressFlag]=1,UCase(c1.StateOrProvince1),UCase(c1.StateOrProvince2))
AS
> State, IIf([AddressFlag]=1,c1.PostalCode1,c1.PostalCode2) AS PostalCode,
> c1.SignificantOtherID, c1.Newsletter
>
>
>


.



Relevant Pages

  • Re: Oh, Canada! Mailing address issues.
    ... > Now I need to modify my setup to include Canada. ... > label query to show field names. ... > OTTAWA ON K1A 0B1 ... > Could I consider OTTAWA as a City in my format, ON as a State in my ...
    (microsoft.public.access.forms)
  • Oh, Canada! Mailing address issues.
    ... Now I need to modify my setup to include Canada. ... label query to show field names. ... OTTAWA ON K1A 0B1 ... Could I consider OTTAWA as a City in my format, ON as a State in my format? ...
    (microsoft.public.access.forms)
  • Re: merging an Achronis created safe partition with my D: partition
    ... I can format ... it use native xp disk management, but would like to just merge it back ... (Ottawa, Canada) ...
    (microsoft.public.windowsxp.general)
  • Re: Great SWT Program
    ... But the last time I checked, Canada has ... Ottawa -- and a 97.5% chance that you're wrong. ... Sympatico TOS, so I choose to believe it's the former. ... The vast majority of your posts have headers that point back to ...
    (comp.lang.java.programmer)
  • Re: Americans & Canadians health
    ... So is Canada. ... Lots of people use the bicycle in Vancouver. ... Same here in Ottawa and the city is smaller than Vancouver. ... You can even take a bike onto the O-train, ...
    (rec.pets.cats.anecdotes)