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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

looking up rejected items



 
 
Thread Tools Display Modes
  #1  
Old September 1st, 2009, 02:16 PM posted to microsoft.public.access.gettingstarted
Annette
external usenet poster
 
Posts: 132
Default looking up rejected items

I’m new to access and I’m trying to make a query to look up rejected items.
I’m doing this by date so in the criteria I have “Between [Enter Start Date]
And [Enter End Date]” it is working fine. I need to show items that are
rejected. If there isn’t any rejected we have entered a 0. What do I need
to put in the criteria to show the number of rejected items? Thank you in
advance.
  #2  
Old September 1st, 2009, 04:16 PM posted to microsoft.public.access.gettingstarted
Ken Snell [MVP]
external usenet poster
 
Posts: 279
Default looking up rejected items

Do you have a field that indicates that an item has been rejected? What is
the name of that field? What datatype is that field?

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I'm new to access and I'm trying to make a query to look up rejected
items.
I'm doing this by date so in the criteria I have "Between [Enter Start
Date]
And [Enter End Date]" it is working fine. I need to show items that
are
rejected. If there isn't any rejected we have entered a 0. What do I
need
to put in the criteria to show the number of rejected items? Thank you
in
advance.



  #3  
Old September 1st, 2009, 04:43 PM posted to microsoft.public.access.gettingstarted
Annette
external usenet poster
 
Posts: 132
Default looking up rejected items

I have a field for rejected items. The field name is rejected and it is a
text field.

"Ken Snell [MVP]" wrote:

Do you have a field that indicates that an item has been rejected? What is
the name of that field? What datatype is that field?

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I'm new to access and I'm trying to make a query to look up rejected
items.
I'm doing this by date so in the criteria I have "Between [Enter Start
Date]
And [Enter End Date]" it is working fine. I need to show items that
are
rejected. If there isn't any rejected we have entered a 0. What do I
need
to put in the criteria to show the number of rejected items? Thank you
in
advance.




  #4  
Old September 1st, 2009, 06:16 PM posted to microsoft.public.access.gettingstarted
Ken Snell [MVP]
external usenet poster
 
Posts: 279
Default looking up rejected items

Use this as example of the criterion for that field (I assume the word
Rejected is in the field when it's a rejected item):

= 'Rejected'

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I have a field for rejected items. The field name is rejected and it is a
text field.

"Ken Snell [MVP]" wrote:

Do you have a field that indicates that an item has been rejected? What
is
the name of that field? What datatype is that field?

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I'm new to access and I'm trying to make a query to look up rejected
items.
I'm doing this by date so in the criteria I have "Between [Enter Start
Date]
And [Enter End Date]" it is working fine. I need to show items that
are
rejected. If there isn't any rejected we have entered a 0. What do I
need
to put in the criteria to show the number of rejected items? Thank
you
in
advance.






  #5  
Old September 1st, 2009, 06:38 PM posted to microsoft.public.access.gettingstarted
Annette
external usenet poster
 
Posts: 132
Default looking up rejected items

There is a zero in the field if they aren't rejected. If it is rejected they
put a number in the field. It's how many were rejected. It could be 1 to
500. I hope this helps.

"Ken Snell [MVP]" wrote:

Use this as example of the criterion for that field (I assume the word
Rejected is in the field when it's a rejected item):

= 'Rejected'

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I have a field for rejected items. The field name is rejected and it is a
text field.

"Ken Snell [MVP]" wrote:

Do you have a field that indicates that an item has been rejected? What
is
the name of that field? What datatype is that field?

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I'm new to access and I'm trying to make a query to look up rejected
items.
I'm doing this by date so in the criteria I have "Between [Enter Start
Date]
And [Enter End Date]" it is working fine. I need to show items that
are
rejected. If there isn't any rejected we have entered a 0. What do I
need
to put in the criteria to show the number of rejected items? Thank
you
in
advance.






  #6  
Old September 1st, 2009, 07:48 PM posted to microsoft.public.access.gettingstarted
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default looking up rejected items

I think if you use a totals query and sum the reject field it will give you
what you want.
--
Build a little, test a little.


"Annette" wrote:

There is a zero in the field if they aren't rejected. If it is rejected they
put a number in the field. It's how many were rejected. It could be 1 to
500. I hope this helps.

"Ken Snell [MVP]" wrote:

Use this as example of the criterion for that field (I assume the word
Rejected is in the field when it's a rejected item):

= 'Rejected'

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I have a field for rejected items. The field name is rejected and it is a
text field.

"Ken Snell [MVP]" wrote:

Do you have a field that indicates that an item has been rejected? What
is
the name of that field? What datatype is that field?

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I'm new to access and I'm trying to make a query to look up rejected
items.
I'm doing this by date so in the criteria I have "Between [Enter Start
Date]
And [Enter End Date]" it is working fine. I need to show items that
are
rejected. If there isn't any rejected we have entered a 0. What do I
need
to put in the criteria to show the number of rejected items? Thank
you
in
advance.






  #7  
Old September 1st, 2009, 08:00 PM posted to microsoft.public.access.gettingstarted
Annette
external usenet poster
 
Posts: 132
Default looking up rejected items

How do I do a totals query? Thanks in advance.

"KARL DEWEY" wrote:

I think if you use a totals query and sum the reject field it will give you
what you want.
--
Build a little, test a little.


"Annette" wrote:

There is a zero in the field if they aren't rejected. If it is rejected they
put a number in the field. It's how many were rejected. It could be 1 to
500. I hope this helps.

"Ken Snell [MVP]" wrote:

Use this as example of the criterion for that field (I assume the word
Rejected is in the field when it's a rejected item):

= 'Rejected'

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I have a field for rejected items. The field name is rejected and it is a
text field.

"Ken Snell [MVP]" wrote:

Do you have a field that indicates that an item has been rejected? What
is
the name of that field? What datatype is that field?

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I'm new to access and I'm trying to make a query to look up rejected
items.
I'm doing this by date so in the criteria I have "Between [Enter Start
Date]
And [Enter End Date]" it is working fine. I need to show items that
are
rejected. If there isn't any rejected we have entered a 0. What do I
need
to put in the criteria to show the number of rejected items? Thank
you
in
advance.






  #8  
Old September 1st, 2009, 08:50 PM posted to microsoft.public.access.gettingstarted
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default looking up rejected items

Open your query in design view. Click on the icon that looks like an "M" on
its side - ∑ to change a select query to a totals query.

Then change the Group By in the grid to Sum for the field you want to total.

--
Build a little, test a little.


"Annette" wrote:

How do I do a totals query? Thanks in advance.

"KARL DEWEY" wrote:

I think if you use a totals query and sum the reject field it will give you
what you want.
--
Build a little, test a little.


"Annette" wrote:

There is a zero in the field if they aren't rejected. If it is rejected they
put a number in the field. It's how many were rejected. It could be 1 to
500. I hope this helps.

"Ken Snell [MVP]" wrote:

Use this as example of the criterion for that field (I assume the word
Rejected is in the field when it's a rejected item):

= 'Rejected'

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I have a field for rejected items. The field name is rejected and it is a
text field.

"Ken Snell [MVP]" wrote:

Do you have a field that indicates that an item has been rejected? What
is
the name of that field? What datatype is that field?

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I'm new to access and I'm trying to make a query to look up rejected
items.
I'm doing this by date so in the criteria I have "Between [Enter Start
Date]
And [Enter End Date]" it is working fine. I need to show items that
are
rejected. If there isn't any rejected we have entered a 0. What do I
need
to put in the criteria to show the number of rejected items? Thank
you
in
advance.






  #9  
Old September 1st, 2009, 09:17 PM posted to microsoft.public.access.gettingstarted
Annette
external usenet poster
 
Posts: 132
Default looking up rejected items

Thanks, but I'm not totaling I just need to know the item that was rejected.
The person that rejects the item put the total rejected and if they don't
reject it the put a zero in the rejected field. I want to be able to look up
the rejected item per date. The date works fine but it brings up all the
items in the rejected field even the ones with the zero in it. Thanks in
advance.

"KARL DEWEY" wrote:

Open your query in design view. Click on the icon that looks like an "M" on
its side - ∑ to change a select query to a totals query.

Then change the Group By in the grid to Sum for the field you want to total.

--
Build a little, test a little.


"Annette" wrote:

How do I do a totals query? Thanks in advance.

"KARL DEWEY" wrote:

I think if you use a totals query and sum the reject field it will give you
what you want.
--
Build a little, test a little.


"Annette" wrote:

There is a zero in the field if they aren't rejected. If it is rejected they
put a number in the field. It's how many were rejected. It could be 1 to
500. I hope this helps.

"Ken Snell [MVP]" wrote:

Use this as example of the criterion for that field (I assume the word
Rejected is in the field when it's a rejected item):

= 'Rejected'

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I have a field for rejected items. The field name is rejected and it is a
text field.

"Ken Snell [MVP]" wrote:

Do you have a field that indicates that an item has been rejected? What
is
the name of that field? What datatype is that field?

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Annette" wrote in message
...
I'm new to access and I'm trying to make a query to look up rejected
items.
I'm doing this by date so in the criteria I have "Between [Enter Start
Date]
And [Enter End Date]" it is working fine. I need to show items that
are
rejected. If there isn't any rejected we have entered a 0. What do I
need
to put in the criteria to show the number of rejected items? Thank
you
in
advance.






 




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 07:24 AM.


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