Using the asterisk !!

J

Jacob Frankham

Hi

I am using an IIf statement in an update query, and I wish to test a fields
value to determine whether it has an asterisk at the end of it ie

officeName

Darlington *
Newcastle
Middlesbrough*
Hackney
Bristol etc etc

How do I do this?

I was using IIf([officeName] Like *" *",
however Access keeps adding quotation marks around the whole of the
comparison
ie it changes automatically to:

IIf([officeName] Like "*" *"",

which is not what I want

Aaaaggghhhh, how frustrating !!!!

Cheers

Jake
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top