Solved

Field on report won't format as currency

Posted on 2013-11-26
3
997 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

696 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