User input of numbers

J

John V

The criteria that I am trying to determine is to have a user input a number
and then the query show all the records that have a value of greater than the
number inputted by the user.
This is the criteria I was trying to get to work:
[Enter Weight To Be Greater Than]
if the user inputs "15" in the msg box, no records are displayed.
However, when I change the criteria to:
records are displayed.
Any thoughts?

Thanks in advance
John
 
G

George

Dear John,
I have used it in Access 2003 and there is no problem when inputing 15 (and
not "15")

Ο χÏήστης "John V" έγγÏαψε:
The criteria that I am trying to determine is to have a user input a number
and then the query show all the records that have a value of greater than the
number inputted by the user.
This is the criteria I was trying to get to work:
[Enter Weight To Be Greater Than]
if the user inputs "15" in the msg box, no records are displayed.
However, when I change the criteria to:
records are displayed.
Any thoughts?

Thanks in advance
John
 
G

George

I assume that the field is a Number field, right?

Ο χÏήστης "George" έγγÏαψε:
Dear John,
I have used it in Access 2003 and there is no problem when inputing 15 (and
not "15")

Ο χÏήστης "John V" έγγÏαψε:
The criteria that I am trying to determine is to have a user input a number
and then the query show all the records that have a value of greater than the
number inputted by the user.
This is the criteria I was trying to get to work:
[Enter Weight To Be Greater Than]
if the user inputs "15" in the msg box, no records are displayed.
However, when I change the criteria to:
records are displayed.
Any thoughts?

Thanks in advance
John
 
J

John V

It is a calculated field.
The field is...
Total Weight: [PartWeight]*[qty]+[BoxWeight]
 
J

John V

I figured it out.....
It was simple once I got it.
By using... >[weight to be greater than] it was returning records of 2
greater with 15 beign entered.
By simply using.... >1*[weight to be greater than] it returned the
results I was looking for.

John
 

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

Top