G
Guest
As a disclaimer, I'm not sure if what I'm specifically trying to do can in
fact be done, but I figured that the program and users here are far smarter
than me.
I am trying to enter a new column in a query called "Zone" that will
conditionally input a number based on the last 3 digits of a column called
"Zip code" in my Access query. For example, I'm trying to get the number 4 to
show up in "Zone" for all zip codes with the last 3 digits of 010-011. I have
inputted the following:
Zone = CASE zip code
WHEN zip code Between LIKE *010 and LIKE *011 THEN 4
ELSE 3
END,
FROM Zone;
I'm sure there are numerous syntax errors here. Any help would be greatly
appreciated!
fact be done, but I figured that the program and users here are far smarter
than me.
I am trying to enter a new column in a query called "Zone" that will
conditionally input a number based on the last 3 digits of a column called
"Zip code" in my Access query. For example, I'm trying to get the number 4 to
show up in "Zone" for all zip codes with the last 3 digits of 010-011. I have
inputted the following:
Zone = CASE zip code
WHEN zip code Between LIKE *010 and LIKE *011 THEN 4
ELSE 3
END,
FROM Zone;
I'm sure there are numerous syntax errors here. Any help would be greatly
appreciated!