Math formula on a field for Access report

Posted on 2008-10-22
Last Modified: 2013-11-28
How do I multiply a numeric field by 100 on an Access report?
Question by:kellyputty
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 22780593

Assume you have a textbox called: txtSales

-Make a new textbox.
-Set the control source of this new textbox to:

LVL 74

Accepted Solution

Jeffrey Coachman earned 500 total points
ID: 22780663

Just a note here.

Things like this are better handled in the Reports RecordSource.

In other words you should base the report on a query.
The query will contain a "Calculate Field" that performs your needed math.

For example:
SELECT Sales, SaleDate, SalesPerson, [Sales]*100 AS Sales100  FROM tblSales

This way the calculated field is available when you create a Report or form.

This way you do not have to create it over and over again for each new Form or Report.



Author Closing Comment

ID: 31508930
Perfect.  Thanks.
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 22791386

Author Comment

ID: 22796236

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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…

759 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