×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Adjusting the Report Band
2

Adjusting the Report Band

Adjusting the Report Band

(OP)
Hi

I have a report that prints out one line of detail from a cursor.  

However, I want to include another line that will be one single line of text.

BUT

I only want that extra line to appear if the text line is not blank.  Therefore, the report band height will adjust according to whether this line is printed or not.

Can anyone help or point me in the right direction?

Thanks



RE: Adjusting the Report Band

Hi,

I wasn't sure if your question was how to print the extra line or how to adjust the band width, however...

To print something conditionally like this, you need to add the line to the report as a label object. Then right click on the label, click on Properties, click Print When button.

At the bottom you have a check box for entering an expression to determine when to print the extra line. In this instance I would have thought if you said NOT EMPTY(CursorText) then you would get what you are looking for.

Hope that helps,

Stewart

RE: Adjusting the Report Band

Hi

Expand the width of the details band of the report writer,
Put the text field as you would do for other field items.
Now double click on this Text Box created. Report expression box opens up. Now click on the 'PRINT WHEN' button. Click on 'Remove link if blank'. Click OK all along and save it. REMEMBER TO HAVE THE REPORT EXPRESSION AS ALLTRIM(myTextField) so that you dont have enpty spaces reported.. as empty spaces is not BLANK.


ramani
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK

RE: Adjusting the Report Band

(OP)
yup, thanks all.
works.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close