The Label display style displays a database field label.
|
|
Label display style options. |
|
Options |
Description |
||||||
|
Use this text for NULL database field values |
Specifies the text to be displayed or inserted into the database if the underlying database field has a “null” value (no value). |
||||||
|
HTML encode white space (no wrapping) |
Respects the white space, carriage return and line feed characters in the HTML. White space is preserved. For example, if you have 10 contiguous spaces, 10 spaces will be output in the field. |
||||||
|
Save field value to database |
Sets the "SaveData=True" pass-through attribute value so that any automatically initialized value is saved to the database. (Values in Labels and Literals are not automatically saved to the database, unlike display styles normally used for data input, such as text boxes and list boxes). You can initialize field values using the Set Initial Value To properties. See FieldValue Initial Value Properties for details. |
||||||
|
Display text as |
Specifies how to display the text contained in the field.
|
When displaying fields as ‘rich text’ it is common for records with less text to be displayed as rich text and for records with more text to be truncated and displayed in the browser font because there isn’t sufficient room to display them as rich text. This can lead to a situation where the fonts in certain table cells differ markedly. Most likely your field is set to show text as Default, allowing the Application Generation Options to decide how to display the text. If set to Display text as ‘Rich text’ and the threshold is low enough that this field qualifies to use rich text, than any cell in this column where text fits completely will be shown as a rich text.
To show all text using the same font, you can do one of the following:
Increase the cell size in the Application Generation Options to fit the entire text into the cell. While this will enlarge many table rows, all text will be displayed as rich text.
Set the Application Generation Options to show text as 'HTML source' and rebuild the application. The text will be displayed as regular text and not as rich text.
Set the particular field to show as ‘HTML source’ in the Page Properties for the field. The text will be displayed as regular text and not as rich text.