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  

zero in query count



 
 
Thread Tools Display Modes
  #1  
Old August 27th, 2004, 09:16 PM
andrew
external usenet poster
 
Posts: n/a
Default zero in query count

Hello all!
I have a query to count how many records meet a certain
specification, which is then routed to a form. (The count
is set to count the number of primary keys.)

How do i get it to return zero if there are no applicable
records?

Thanks!
Andrew
  #2  
Old August 27th, 2004, 09:48 PM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

Perhaps using DCount function instead of the query will work better for you.

--

Ken Snell
MS ACCESS MVP

"andrew" wrote in message
...
Hello all!
I have a query to count how many records meet a certain
specification, which is then routed to a form. (The count
is set to count the number of primary keys.)

How do i get it to return zero if there are no applicable
records?

Thanks!
Andrew



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stup-id question about Count query Lunga Running & Setting Up Queries 8 August 26th, 2004 04:35 PM
Count in Query Kris Running & Setting Up Queries 1 August 24th, 2004 11:00 PM
query wizard error Christen General Discussion 12 August 13th, 2004 08:37 PM
Query By Form Craig Running & Setting Up Queries 2 June 1st, 2004 01:10 AM


All times are GMT +1. The time now is 11:16 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.