S
Stephanie
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
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