Access 2002 Reports

  • Thread starter Thread starter NiteOwl
  • Start date Start date
N

NiteOwl

I need to use the between function on a calculated, and
print and ourliers in red.
 
Presumably the report is based on a query, and the calculated field is in
the query? If so, you should be able to use the Between operator in the
Criteria row of your query, or in the WhereCondition of your OpenReport
action.

If the query is giving the wrong wrong results, the reason would be that
Access has misunderstood the data type, e.g. it is applying a string
comparision when you expected a numeric comparison. For details on how to
prevent that issue, see:
Calculated fields misinterpreted
at:
http://allenbrowne.com/ser-45.html

If you want something printed in red when certain conditions are met:
1. Open the report in design view.
2. Select the field to be sometimes red.
3. Choose Conditional Formatting from the Format menu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top