D
Duncs
I need some help with some text fields in one of my tables.
I have the standard address fields...Addr1, Addr2, Addr3, Addr4,
Addr5, Postcode. These represent HouseName, Street, Suburb, Town,
County & Postcode. (They're not anmed like that, as when data is
moved around, this wouldn't make sense.) So, here's what I need to
do.
Data could appear in the format:
Housename: null
Street: 25 Any Street
Suburb: Anywhere
Town: Anytown
County: Anycounty
PostCode: AN1 1AN
I need this transferred to the Addr1...format so that:
Addr1: 25 Any Street
Addr2: Anywhere
Addr3: Anytown
Addr4: Anycounty
Addr5: null
Postcode:AN1 1AN
Similarly, if the data appears as:
Housename: Anyhouse
Street: 75 Any Street
Suburb: null
Town: Anytown
County: null
PostCode: AN1 1AN
I need this transferred to the Addr1...format so that:
Addr1: Anyhouse
Addr2: 75 Any Street
Addr3: Anytown
Addr4: null
Addr5: null
Postcode:AN1 1AN
I've tried using the Nz function, but all I get for the following is:
Housename: null
Street: 25 Any Street
Suburb: Anywhere
Town: Anytown
County: Anycounty
PostCode: AN1 1AN
I need this transferred to the Addr1...format so that:
Addr1: 25 Any Street
Addr2: 25 Any Street
Addr3: Anywhere
Addr4: Anywhere
Addr5: Anytown
Postcode:AN1 1AN
What am I doing wrong?
Duncs
I have the standard address fields...Addr1, Addr2, Addr3, Addr4,
Addr5, Postcode. These represent HouseName, Street, Suburb, Town,
County & Postcode. (They're not anmed like that, as when data is
moved around, this wouldn't make sense.) So, here's what I need to
do.
Data could appear in the format:
Housename: null
Street: 25 Any Street
Suburb: Anywhere
Town: Anytown
County: Anycounty
PostCode: AN1 1AN
I need this transferred to the Addr1...format so that:
Addr1: 25 Any Street
Addr2: Anywhere
Addr3: Anytown
Addr4: Anycounty
Addr5: null
Postcode:AN1 1AN
Similarly, if the data appears as:
Housename: Anyhouse
Street: 75 Any Street
Suburb: null
Town: Anytown
County: null
PostCode: AN1 1AN
I need this transferred to the Addr1...format so that:
Addr1: Anyhouse
Addr2: 75 Any Street
Addr3: Anytown
Addr4: null
Addr5: null
Postcode:AN1 1AN
I've tried using the Nz function, but all I get for the following is:
Housename: null
Street: 25 Any Street
Suburb: Anywhere
Town: Anytown
County: Anycounty
PostCode: AN1 1AN
I need this transferred to the Addr1...format so that:
Addr1: 25 Any Street
Addr2: 25 Any Street
Addr3: Anywhere
Addr4: Anywhere
Addr5: Anytown
Postcode:AN1 1AN
What am I doing wrong?
Duncs