Force Crystal to display record " " if no record exists

I currently have a report that is generated from views within my MySQL database. These views summarise  various figures to allow a quick view of overall performance. When I run my report, if there are no records for a particular area I am reporting on, the whole record for that 'day' doesn't appear.

My question is; Is there any way to force Crystal to display, say "0" if no records are found just so the other figures are displayed?

It could be that I am looking at this in the wrong way. My view "counts" available records as the field I am counting is text and not a number. I can 'sum' numbers fine and it will display '0' if no records are found but I have this issue with text where I count.

Any input would be much appreciated.


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

As far as a I know, there is no way of doing what you are trying to do.

I think the best thing you could do is to send all the data that Crystal will use to a DB temp table that will be filled through "a process". That process should be a program that check for missing values in the figures you are displaying and filling those "holes" with any data you want... and then creating a formula in Crystal to force it not to show that ficticious value.
well you could create a formula based on the column that you are counting.  something like this..

if isnull(column) then 0 else column
You need to create a table in the database that has all the values you want then use it as the master table and left join your query to it.

If the data doesn't exist in Crystal for the most part you cannot have Crystal check for it and add it.

There is a trick if the missing information is dates.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.