Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting Blank Fields

Status
Not open for further replies.

BrickMad

Technical User
May 2, 2003
2
NZ
I have a field with the time of day in it, however I want to count this field when the time of day has not been added , any ideas?

Thanks
 
Perform a record count (like on the PK) and a count on the specific time of day field.
The difference should be the number of empty fields..

Ties Blom

 
Or a calculation like TOTAL(CASE WHEN (TIME_FIELD = "" OR TIME_FIELD is NULL) THEN (1) ELSE (0) END)).

soi la, soi carré
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top