A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Criteria not working on expression field in query



 
 
Thread Tools Display Modes
  #1  
Old July 10th, 2008, 07:16 PM posted to microsoft.public.access.queries
Erin Freeman
external usenet poster
 
Posts: 26
Default Criteria not working on expression field in query

Hi there,

I am hoping someone can help me.
I have an expression in a query
I-Amount Balance: Round([Invoice Total]-[I-Amount Paid],2)

I would like to show all the records that do not equal 0 as some invoices
have been overpaid and some underpaid and some not paid at all. THese are all
Currency fields

I have tried multiple times to get the criteria to work but i cant seem to.
Any ideas. Can i just not use criteria on field that is an expression?

Thanks in advance
erin
  #2  
Old July 10th, 2008, 07:45 PM posted to microsoft.public.access.queries
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Criteria not working on expression field in query

How did you express the criteria?

I used 0 and it works.

--
KARL DEWEY
Build a little - Test a little


"Erin Freeman" wrote:

Hi there,

I am hoping someone can help me.
I have an expression in a query
I-Amount Balance: Round([Invoice Total]-[I-Amount Paid],2)

I would like to show all the records that do not equal 0 as some invoices
have been overpaid and some underpaid and some not paid at all. THese are all
Currency fields

I have tried multiple times to get the criteria to work but i cant seem to.
Any ideas. Can i just not use criteria on field that is an expression?

Thanks in advance
erin

  #3  
Old July 10th, 2008, 07:50 PM posted to microsoft.public.access.queries
Erin Freeman
external usenet poster
 
Posts: 26
Default Criteria not working on expression field in query

I tried that, i wonder if it has something to do with the way the fields are
set up. I have them all as currency type in the tables and they are set to 2
decimal places.....

"KARL DEWEY" wrote:

How did you express the criteria?

I used 0 and it works.

--
KARL DEWEY
Build a little - Test a little


"Erin Freeman" wrote:

Hi there,

I am hoping someone can help me.
I have an expression in a query
I-Amount Balance: Round([Invoice Total]-[I-Amount Paid],2)

I would like to show all the records that do not equal 0 as some invoices
have been overpaid and some underpaid and some not paid at all. THese are all
Currency fields

I have tried multiple times to get the criteria to work but i cant seem to.
Any ideas. Can i just not use criteria on field that is an expression?

Thanks in advance
erin

  #4  
Old July 10th, 2008, 08:30 PM posted to microsoft.public.access.queries
Erin Freeman
external usenet poster
 
Posts: 26
Default Criteria not working on expression field in query

i created a test db and it worked fine...hhmmm i am not sure why it wont work
on my regular one

"KARL DEWEY" wrote:

How did you express the criteria?

I used 0 and it works.

--
KARL DEWEY
Build a little - Test a little


"Erin Freeman" wrote:

Hi there,

I am hoping someone can help me.
I have an expression in a query
I-Amount Balance: Round([Invoice Total]-[I-Amount Paid],2)

I would like to show all the records that do not equal 0 as some invoices
have been overpaid and some underpaid and some not paid at all. THese are all
Currency fields

I have tried multiple times to get the criteria to work but i cant seem to.
Any ideas. Can i just not use criteria on field that is an expression?

Thanks in advance
erin

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.