Q
Quack Boy
I'm new to MS access so here's an easy question:
I've got a simple table:
ID person zipcode Country
1 Fred SO1 2AB UK
2 Betty WA 23568 UK
3 Charlie CA12379 USA
I want to return a query with all the above information but if the
country is "UK" then to not to print the country name at all. ie
ID person zipcode Country
1 Fred SO1 2AB
2 Betty WA 23568
3 Charlie CA12379 USA
I tried it with a iif statement but I just got above info returned but
only if the country wasn't UK - which isn't what I was after.
Naturally I could just search and replace "UK" for nothing and not
bother with the query but I don't want to do that.
Thank you.
I've got a simple table:
ID person zipcode Country
1 Fred SO1 2AB UK
2 Betty WA 23568 UK
3 Charlie CA12379 USA
I want to return a query with all the above information but if the
country is "UK" then to not to print the country name at all. ie
ID person zipcode Country
1 Fred SO1 2AB
2 Betty WA 23568
3 Charlie CA12379 USA
I tried it with a iif statement but I just got above info returned but
only if the country wasn't UK - which isn't what I was after.
Naturally I could just search and replace "UK" for nothing and not
bother with the query but I don't want to do that.
Thank you.