Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Currency Format in Union Query
Jean-Pierre Christen 
     
3 years ago
Hi Richard!

I use 5 Check Registers, 2 are in USD currency, and the other 3 are in local currency RUPPEE.

I made a Union Query so I could check the balances of all 5 with just a button click from my Main Menu.

Problem is, its showing all 5 Balances as RUPPEE (same as my regional setting). 2 of the balances should be in USD.

Is it possible to change Currency Format to USD in the Union Query?

With Best Regards,
JP
Jean-Pierre Christen OP  @Reply  
     
3 years ago

Jean-Pierre Christen OP  @Reply  
     
3 years ago

Kevin Robertson  @Reply  
          
3 years ago
You can use the Format function.

UK: Format([myCurrency],"'#,###.00;('#,###.00)")
US: Format([myCurrency],"$#,###.00;($#,###.00)")
Kevin Robertson  @Reply  
          
3 years ago

Scott Axton  @Reply  
        
3 years ago
Kevin Yip  @Reply  
     
3 years ago
Hi Jean-Pierre,

In Access, the entire column has to have the same format.  It's not like in Excel where you can format individual cells.  To do that in Access, usually you can use conditional formatting, but it won't work here because you can't set currency formats with conditional formatting.

You need to make a query that sets the currency format of every row conditionally (using the IIf() or Switch() function) based on the currency type of that row.  See the example in the picture below, where  I use the Switch() to decide whether to put the $, ', ', or ' symbol in front of the amount, based on the CurrencyType field.  This site has a video on the Switch() function if you are unfamiliar with it.

Yes, this method is a little cumbersome.  But you only have two currency formats, so it should be simpler for you.
Kevin Yip  @Reply  
     
3 years ago

Kevin Yip  @Reply  
     
3 years ago
I said in my previous post that a column can only show one format, and it is still true in my example above.  Even though the result shows different currency formats in a column, they all have the same format: literal *text* values, not numbers with currency formats.  So they cannot be used in calculations.  To use them as numbers, they need to be converted back to numbers, with the Val() function, for instance.
Juan C Rivera  @Reply  
            
3 years ago
Good morning all how about some creative thinking add a field with USD  or $ query by that this way you can still use the format and keep its value?
Dan Jackson  @Reply  
            
3 years ago
☝ Oh Yeah!!! ☝

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 6/16/2026 6:51:46 PM. PLT: 0s