Skip to Content
Former Member
Aug 01, 2008 at 01:54 AM

How to determine line count in single multiline textbox


I have data that comes out of a sql db text field that already has line breaks and paragraph breaks. I would like to determine how many lines this will be (w/ line wrapping on) so that I can say if over 20 lines font = 12 pt. etc. How do you determine how many lines there are in a multiline textbox? In .net a textbox can be called w/ .linecount to get the # of lines.

How can I accomplish this in Crystal Reports?

Any help would be appreciated.