Re: Error in Count of records
I think it says invalid use of null which means that one of the data fields is null and you can not assign a null value to the text property of a text box
In future type the error message rather than taking a screen shot. That image has very small text and is not very clear at all, would have been much better and easier to simply type the error message into your post.
You still have not told us what the original error message was nor what line it occurred on, you say it has not been resolved but you fail to give the details to help answer the question.
As for the Null error you can test for null using the IsNull() method or you can simply append and empty string during the assignment