We help IT Professionals succeed at work.
Get Started

Access Query, change data in query?

Last Modified: 2015-03-04
We have an old Access database that we have to run reports from. We only have read access so we cant update the data.
I have been using an IIf statement to make a change to a record that  has been entered in correctly, and this has worked fine for the past 6 months,  Name: IIf([filenumber]="XX1413","Client",[clientname]) So the query looks at the file number, if it matches it then changes that to client, if not it just returns the data that is held in the table clientname.
The issue I have now is that we have to make more changes. For example file number XX1417 needs to be shown as ThirdParty.
Would using Multi Iif statement be best? If so I have tried to nest/ Combine them with no success.

Watch Question
Top Expert 2016
This problem has been solved!
Unlock 3 Answers and 10 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE