aqif
Registered User.
- Local time
- Today, 16:49
- Joined
- Jul 9, 2001
- Messages
- 158
Hi
I am using a continous subform and on that form footer I placed a text box and set its control source as
=Count([PtID]) & " Records"
When the form contains some records it gives proper number of records but when form doesnot have any records it returns nothing instead of returning zero. I have also tried
=IIf(Count([PtID])>0,Count([PtID]),0) & " Record(s) "
or =Nz(Count([PtID]),0) & " Records"
or =IIf(IsError(Count([PtID]))=False,Count([PtID]) & " Records","0 Records")
any suggestions?
Cheers!
Aqif
I am using a continous subform and on that form footer I placed a text box and set its control source as
=Count([PtID]) & " Records"
When the form contains some records it gives proper number of records but when form doesnot have any records it returns nothing instead of returning zero. I have also tried
=IIf(Count([PtID])>0,Count([PtID]),0) & " Record(s) "
or =Nz(Count([PtID]),0) & " Records"
or =IIf(IsError(Count([PtID]))=False,Count([PtID]) & " Records","0 Records")
any suggestions?
Cheers!
Aqif