Solved

Field on report won't format as currency

Posted on 2013-11-26
3
935 Views
Last Modified: 2013-11-26
I have a field on a report that will not let me format it as currency.

I do have the format set as currency.  The field's control source, coming from a query, in the query is set to be formatted as currency but it still won't format as currency on the report.

???
0
Comment
Question by:SteveL13
3 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39678046
from the description you posted above, we need to see the db why it is not working.

upload a copy of the db
0
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
ID: 39678064
Can you provide the SQL for the Reports recordsource?

If the field in question uses the NZ([yourField], 0) function in the query, then the query will return a string, not a numeric value, which may be preventing it from formatting as Currency.  If this is the case, modify the query to something like:

Val(NZ([yourField], 0))

Once you have run the query, it should recognize that field as numeric and allow formatting as Currency.
0
 

Author Comment

by:SteveL13
ID: 39678116
Yes, I was using NZ and the suggestion...

Val(NZ([yourField], 0))

is working perfectly.

Just as a side note, in the design of the report I have the fields lining up perfectly right-justified vertically but they are off by a space or two and I'm having to manipulate them to line up.

--Steve
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question