Using the Text widget

Top  Previous  Next

Use the Text widget to display text in your layout.  The value in the Value property is what will be displayed in your layout.

 

custom_text_01

 

To display a value from a field, you need to first link up the text item with a field from your result set using the FieldNames property.  Click on the FieldNames item in the property inspector, then click on the ellipsis button:

 

custom_text_02

 

In the Field Names window, you can list down the fields you want to link the Text widget to.

 

custom_text_04

 

You can list down multiple field names, but only the value from the first existing field in the current dataset will be displayed.

 

Now when SQL Image Viewer finds a matching field from the current data set, it will display the value from that field when you use the <value> tag in the Value property.

 

custom_text_05

 

The other properties like Alignment, BGColor, etc affect the appearance of the text item.  Experiment around to see how your text item can be formatted in many different ways.

 

 

custom_text_06