Is there a way to force a CRLF in a multiline text box on a report? I have a textbox with multiple fields, and want to force a CRLF between two of the fields...
The problem is, I've tried different things, including good old vbCRLF, and ancient CHR(13) + CHR(10), however, the report engine doesn't like either one.
Here is an example of where this could be useful:
I have the following fields:
Name
Address Line 1
Address Line 2
City, State Zip
Phone #
If each of the lines were in there own text box, and Address Line 2 was blank, I would have a blank line in the address. Now, I can do a workaround with a series of IIF's in each of the textboxes from Address Line 2 down, but I'd rather do one large multiline textbox with all the fields in it, forcing CRLF's in the appropriate places, and only one IIF for the Address Line 2.
Part of my problem is I'm spoiled by a "Remove Line if Blank" feature. And guys, yes, I know the reporting module is in it's infancy, so I realize there is room for improvement. Consider this a feature request.
Thanks as always!!!
Kuba
The problem is, I've tried different things, including good old vbCRLF, and ancient CHR(13) + CHR(10), however, the report engine doesn't like either one.
Here is an example of where this could be useful:
I have the following fields:
Name
Address Line 1
Address Line 2
City, State Zip
Phone #
If each of the lines were in there own text box, and Address Line 2 was blank, I would have a blank line in the address. Now, I can do a workaround with a series of IIF's in each of the textboxes from Address Line 2 down, but I'd rather do one large multiline textbox with all the fields in it, forcing CRLF's in the appropriate places, and only one IIF for the Address Line 2.
Part of my problem is I'm spoiled by a "Remove Line if Blank" feature. And guys, yes, I know the reporting module is in it's infancy, so I realize there is room for improvement. Consider this a feature request.
Thanks as always!!!
Kuba