Oct 13, 2006 #1 bxgirl Programmer Nov 21, 2005 75 US I have a report based on a query with a text field whose control source property looks like the following: =DSum("[Weekly Hours]","[PCW_BRONX]"," [Program] = 'SD'") How can I have this print 0 if there is no data to calculate.
I have a report based on a query with a text field whose control source property looks like the following: =DSum("[Weekly Hours]","[PCW_BRONX]"," [Program] = 'SD'") How can I have this print 0 if there is no data to calculate.
Oct 13, 2006 #2 lameid Programmer Jan 31, 2001 4,212 US =NZ(DSum("[Weekly Hours]","[PCW_BRONX]"," [Program] = 'SD'"),0) Upvote 0 Downvote
Oct 13, 2006 #3 TheAceMan1 Programmer Sep 23, 2003 11,174 US How are ya bxgirl . . . Code: [blue] =NZ(DSum("[Weekly Hours]","[PCW_BRONX]"," [Program] = 'SD'"))[/blue] See Ya! . . . . . . Upvote 0 Downvote
How are ya bxgirl . . . Code: [blue] =NZ(DSum("[Weekly Hours]","[PCW_BRONX]"," [Program] = 'SD'"))[/blue] See Ya! . . . . . .
Oct 16, 2006 Thread starter #4 bxgirl Programmer Nov 21, 2005 75 US Thank you so much. That worked. Upvote 0 Downvote