Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Display of variable in header if left empty

$
0
0

Hello

I have a question concerning a display in the header of the report.

Background of the report is a query. The query contains a variable for the salesorganization.

Now  I want this to be displayed in the reporting header. If I leave the variable empty, it should show "Global view".

I tried a text field with a routine, saying, if variable = ' ' then "Global View" else variable.

This is working fine, if I enter a value but not if I leave it empty. It seams as if empty is not equal to empty.

Second try was with the attribute from the query. Again working fine with one value, but if I leave the variable empty, it is giving me back 21 (thats the amount of salesorganizations) sheets.

Does anyone have an idea of how this can be solved?

Thanks and best regards

Clemens


Viewing all articles
Browse latest Browse all 4814

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>