Changing a numbers sign in a query

  • Thread starter Thread starter Joe Cilinceon
  • Start date Start date
J

Joe Cilinceon

What I have is a query on Charges. Now I want to change a sign from + to -
based on the ChgID # in that field.
 
What I have is a query on Charges. Now I want to change a sign from + to -
based on the ChgID # in that field.

IIf([ChgID]=somecriteria,[Charges] * -1,[Charges])
 
fredg said:
What I have is a query on Charges. Now I want to change a sign from
+ to - based on the ChgID # in that field.

IIf([ChgID]=somecriteria,[Charges] * -1,[Charges])

Thanks fredg that worked good. I've had brain lock today and for some reason
I just couldn't figure out how to do it, simple as it is.
 

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

Similar Threads

Concatenate Question 6
Another tuff one 3
Combo Box on a Subform 5
Help with DSum Function 16
Query on a subform 1
Percent Sign 5
Are password protected WiFi networks secure? 3
Calculated Query 4

Back
Top