Hi Folks,
I use =count(*) to count the records on a report but want to have a more elegant result when there are no records to count. When using =count(*) in this case the user gets a error#. I would like the report to display either a 0 or a message to say something like "There are currently no records to view". I assume I could use an if statement but not sure what the syntax should be or if I can simply write it in the text box or need to write some vba.
Help appreciated!
I use =count(*) to count the records on a report but want to have a more elegant result when there are no records to count. When using =count(*) in this case the user gets a error#. I would like the report to display either a 0 or a message to say something like "There are currently no records to view". I assume I could use an if statement but not sure what the syntax should be or if I can simply write it in the text box or need to write some vba.
Help appreciated!