Invalid data in report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

I have an expresion in a query that I want to be an numberic value. So that
when I run the report it will not allow me to sum it.

Query Expresion
Low: IIf([variance]<"0",[variance],"0")

Report
=sum([Low])

I get invalid data type error message
 
Drop the quotes:
Low: IIf([variance] < 0,[variance], 0)

When you put a value in quotes, JET treats it as a text (string) value, and
it cannot be summed.

For further suggestions on how to help JET understand your intended data
type, see:
Calculated fields misinterpreted
at:
http://allenbrowne.com/ser-45.html
 

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