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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to count no data in a database

Status
Not open for further replies.

MaxEd

Technical User
Jul 3, 2002
407
US
I have a data table setup but I want to see if there are any empty cells in the datatable. I used a


Dcount("myField","mytable","myfield isempty")

Am I using this correctly?
 
Dcount("myFieldindex","mytable","isnull([myfield])")

will produce results need to count a field that would not be empty

Dcount("myField","mytable","isnull([myfield])")

produces 0

Dcount("myFieldindex","mytable","isnull([myfield])")

produce accurate count



 
gol4, Thanks for the tip!! That worked great! I have done some coding over the past few months but I'm still new to some of the little details of MsAccess 2000.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top