I am a real beginner and I have a complex problem to solve.
First, I briefly explain the basics:
I manage the Directory of an Association of Former Students of French Military Prep Schools.
In my Database, each school has its own Table.
Inside each Table, a row contains no less than sixteen fields of information.
Two of them are 'postalCode' and 'region'.
France is divided into administrative zones called "department(s)" which are numbered with two digit numbers.
Departments located in the same geographical zone are grouped into "region(s)"
Town's Postal Codes are five digit numbers.
The first two digits indicate the department (see above) and the three other digits the town. I have allocated to each region a two digit code.
So, for example the Town 87530 is located in the Department #87 and has the number 530.
The department #87 is in the Region #14.
Also, the Town 19854 is located in the Department #19 and has the number 854.
The department #19 is also in the Region #14.
And now, the problem itself.
I want to tell this to my Table : Wherever you encounter in 'postalCode' Field rows BEGINNING with 87 or 19, insert the Value 14 in the 'region' Field.
I have tried to be as clear as possible. Feel free to ask any needed info...
And many thanks in advance for your help!
Contact: gm[at]germaris.com
My motto: "Simple is Best
First, I briefly explain the basics:
I manage the Directory of an Association of Former Students of French Military Prep Schools.
In my Database, each school has its own Table.
Inside each Table, a row contains no less than sixteen fields of information.
Two of them are 'postalCode' and 'region'.
France is divided into administrative zones called "department(s)" which are numbered with two digit numbers.
Departments located in the same geographical zone are grouped into "region(s)"
Town's Postal Codes are five digit numbers.
The first two digits indicate the department (see above) and the three other digits the town. I have allocated to each region a two digit code.
So, for example the Town 87530 is located in the Department #87 and has the number 530.
The department #87 is in the Region #14.
Also, the Town 19854 is located in the Department #19 and has the number 854.
The department #19 is also in the Region #14.
And now, the problem itself.
I want to tell this to my Table : Wherever you encounter in 'postalCode' Field rows BEGINNING with 87 or 19, insert the Value 14 in the 'region' Field.
I have tried to be as clear as possible. Feel free to ask any needed info...
And many thanks in advance for your help!
Contact: gm[at]germaris.com
My motto: "Simple is Best