Nov 5, 2004 #1 eshaan Technical User Feb 20, 2003 57 US I have feild that counts. When data is not available it is printing Error. How Can i print 0 instead of Error. Please help me. Thanks.
I have feild that counts. When data is not available it is printing Error. How Can i print 0 instead of Error. Please help me. Thanks.
Nov 5, 2004 #2 THWatson Technical User Apr 25, 2000 2,601 CA eshaan You say "when data is not available." Is this data from a subreport? If so, you have to check for data using the HasData property. Tom Upvote 0 Downvote
eshaan You say "when data is not available." Is this data from a subreport? If so, you have to check for data using the HasData property. Tom
Nov 5, 2004 #3 mordja Programmer Apr 27, 2004 294 GB eshaan, Instead of using count you could set the control source of the counting field to =Sum(IIf(IsNull([YourField]),0,1)) Where [YourField] is the field you want to count. Mordja Upvote 0 Downvote
eshaan, Instead of using count you could set the control source of the counting field to =Sum(IIf(IsNull([YourField]),0,1)) Where [YourField] is the field you want to count. Mordja