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

Count showing #Error instead of 0 on form

Status
Not open for further replies.

jcfraun

Technical User
Dec 13, 2008
51
US
I have a text box on a form that counts the number of records in a subform using the following expression
=[Form]Form!Text10, where Text10 refers to a text box with
=count([Field]) in the form's footer. It works well, except when the value is 0. Then it gives me an #Error. Any ideas?
 
Try:
=[SubFormControl].FORM.RECORDSET.RECORDCOUNT
...instead.

RuralGuy (RG for short) aka Allan Bunch MS Access MVP acXP winXP Pro
Please respond to this forum so all may benefit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top