Solved

Field on report won't format as currency

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

Expert Comment

by:Rey Obrero
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
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…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now