• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 451
  • Last Modified:

Change output of Access Report

We run an Access Database for equipment maintenance. Our engineers have a "Maintenance" form with 30 combo boxes who's row source is a table "Condition". The table has two columns "Score" as an interger and "Condition" as a varchar. In the form I have chosen the Score column as the bound field, which enables me to carry out calculations. The display on the form is the "Condition" column.

To summarise:

The table below is for the row source, with the score being saved in the Maintenance table, but the Condition being displayed on the engineers form.

Condition                           Score

Dangerous              1
Requires Attention              2
Poor                                3
Fair                                4
Good                                5
Very Good              6
Excellent                                7
N/A                                0

This format is repeated 30 times on the form for the various maintenance checks. My idea is that I can give an overall condition report, by averaging the scores.

My Problem is that the report for the maintenance is obviously displaying the score, rather than the related condition. Is there a way I can change the report to reflect the condition.
  • 3
1 Solution
Jeffrey CoachmanMIS LiasonCommented:
All you have to do is pull in the "condition" field in to the reports Recordsource.

But another approach would be to look it up...
Add a textbox to the report (txtCondition)
Set the control source to: Dlookup("Condition","YourConditionTableName", "Score= & YourScoreControlName )
Jeffrey CoachmanMIS LiasonCommented:
here is a sample of both techniques...
SparkyPAuthor Commented:
Many Thanks Boag

Two Answers for the price of one, hey that's value.
Jeffrey CoachmanMIS LiasonCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now