Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > Help with Sum/C...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 29828 of 31576
Post > Topic >>

Help with Sum/Counting a column in a Query

by Scott269 <bulldog269@[EMAIL PROTECTED] > Apr 2, 2008 at 01:25 PM

So I've got a table full of orders.  I have a query that counts the
orders, no problem.

Now I've also got a query that tells me if the order is due or not.
Its a little more complicated, but basically says
"Due:Iif(Due_date>Today,"No","Yes").  Now I want to count all the
orders in that query that are due.  I have Count_of_Due:
Count(Order_Due.Due) and it crashes.  I try adding a column in the
Order_Due table with an Number_Due: Iif(Due="Yes",1,0) to make a
number.  I tell it to count Number_Due.  WTF?  I try the same with the
sum function, same result.  How do I make it count the number of times
a string appears in a query?
 




 7 Posts in Topic:
Help with Sum/Counting a column in a Query
Scott269 <bulldog269@[  2008-04-02 13:25:12 
Re: Help with Sum/Counting a column in a Query
Bob Quintal <rquintal@  2008-04-02 20:56:50 
Re: Help with Sum/Counting a column in a Query
Guillermo_Lopez <g.lop  2008-04-02 14:52:52 
Re: Help with Sum/Counting a column in a Query
lyle fairfield <lylefa  2008-04-03 00:18:11 
Re: Help with Sum/Counting a column in a Query
Scott269 <bulldog269@[  2008-04-02 16:21:53 
Re: Help with Sum/Counting a column in a Query
lyle fairfield <lylefa  2008-04-03 00:13:06 
Re: Help with Sum/Counting a column in a Query
Guillermo_Lopez <g.lop  2008-04-03 08:23:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 1:28:52 CST 2008.