Skip to Content
author's profile photo Former Member
Former Member

silver background for null return

Post Author: Eany

CA Forum: Formula

I have XI.

My report needs an 'author' and a 'date' in each page footer.

These fields are retrieved from an SP, and have to be formatted as follows :

Font : Color : Black, &

Border : Background : Silver.

But when spaces or Nulls are returned from the SP for these 2 fields, their print display is blank (i. e. white )

How do I get all Silver in the display, when no return from the SP ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2008 at 04:18 PM

    Post Author: dee7231

    CA Forum: Formula

    You have to create a formula like so: Formula Name = "AuthorName"If isnull({Field.Name}) Then " " Else {Field.Name} Then put the formula "AuthorName" in the page footer and format it. The same would work for the Date:Formula Name = "AuthorDate"If isnull({date.field}) Then " " else ToText({Date.Field}, "mm/dd/yy") I hope this helps.dee7231

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2008 at 04:44 PM

    Post Author: Eany

    CA Forum: Formula

    thanks dee : it works a treat......

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.