Trimming a field.

I am relatively new to FastReports, and I am trying to format a field. The field is in a database table, ORDR. The field is ADDRESSLINE1.

I need to trim this field to the first 32 characters, which the substring or trim function works fine on. The problem is that if this field isn't 32 characters or more, that I wind up getting an index error because the field doesn't reach the range of 32 characters.

How can this be coded so that it can get it to work?


Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.