Textbox not display

T

TQ

My "Comment" textbox is place at the end of a page; a page break is placed
after it. Somehow when the a record does not have comment, the "Comment"
textbox is not displayed. How can I make it appear regardless it is filled
with text or is empty. Thanks!
 
K

KARL DEWEY

Try using an IIF statement --
Expr1: IIF([TextBox] Is Null, Chr(13) & Chr(10), [TextBox])

You can add more Chr(13) & Chr(10) based on how many line spaces you want.
 
T

TQ

Where do I put this code? Sorry, I'm new to this. Thanks, Karl!

KARL DEWEY said:
Try using an IIF statement --
Expr1: IIF([TextBox] Is Null, Chr(13) & Chr(10), [TextBox])

You can add more Chr(13) & Chr(10) based on how many line spaces you want.
--
KARL DEWEY
Build a little - Test a little


TQ said:
My "Comment" textbox is place at the end of a page; a page break is placed
after it. Somehow when the a record does not have comment, the "Comment"
textbox is not displayed. How can I make it appear regardless it is filled
with text or is empty. Thanks!
 
K

KARL DEWEY

Put it in your query used to feed the report. It will be a calculated field.

You will need to edit your report to use the aliase you assign instead of
Expr1.

--
KARL DEWEY
Build a little - Test a little


TQ said:
Where do I put this code? Sorry, I'm new to this. Thanks, Karl!

KARL DEWEY said:
Try using an IIF statement --
Expr1: IIF([TextBox] Is Null, Chr(13) & Chr(10), [TextBox])

You can add more Chr(13) & Chr(10) based on how many line spaces you want.
--
KARL DEWEY
Build a little - Test a little


TQ said:
My "Comment" textbox is place at the end of a page; a page break is placed
after it. Somehow when the a record does not have comment, the "Comment"
textbox is not displayed. How can I make it appear regardless it is filled
with text or is empty. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top