Hi,
I have a Page Header that shows details on what parameters the user entered. Basically I'm using the Page Header for troubleshooting purposes when the report doesn't return any data. It will show what parameters were entered.
I put the following into the Page Header suppress formula but ran into a problem:
This seems to work fine for all my reports I have been creating except one. It seems to show when there is just ONE (a single) record returned. I don't want it to show if there is any results. I probably never seen this before because I usually have multiple records. I only want that Page Header to show when there are zero records returned.
Why doesn't this work? I have been using this for all my other reports. As I was typing this, I tried using the following and that worked fine for this report:
So is the second one a better method to use over the first code I posted?
Thanks.
I have a Page Header that shows details on what parameters the user entered. Basically I'm using the Page Header for troubleshooting purposes when the report doesn't return any data. It will show what parameters were entered.
I put the following into the Page Header suppress formula but ran into a problem:
Code:
not(onfirstrecord and onlastrecord)
This seems to work fine for all my reports I have been creating except one. It seems to show when there is just ONE (a single) record returned. I don't want it to show if there is any results. I probably never seen this before because I usually have multiple records. I only want that Page Header to show when there are zero records returned.
Why doesn't this work? I have been using this for all my other reports. As I was typing this, I tried using the following and that worked fine for this report:
Code:
count({field}) <> 0
So is the second one a better method to use over the first code I posted?
Thanks.