Report Fields

  1. In the Explorer Tree, locate the field that you wish to modify.

  1. Modify the field properties.  These will either be displayed in Alphabetical or Logically, depending on the setting of the [Sort Alphabetically/Logically] button.  The following instructions are assuming that the properties are sorted logically.

  2. In the Name property, the name assigned to the field when it was created will be displayed.  It can be changed, if desired.

  3. In the Description property, enter a user-defined description for this field.

  4. In the Type pop-list, select the desired field type.  Choices are:

  1. In the From Database pop-list, select true if the field value will be taken from the database.  Select false if the field value will not be user-defined.  

  1. In the Size field, enter the database character size for this field.  Only database fields will have this property.

  2. In the Key Field pop-list, select true if this field is a primary key for the table/view.  Select false if the field is not a primary key for the table/view. Only database fields will have this property.  Key fields are marked with a key icon in the Explorer Tree.

  3. In the Break Type pop-list, if a totals block should be created based on this field, set this pop-list to the desired setting.  For more information on breaks and totaling in reports, see the Automatic Total Blocks section.

  1. In the Break Position pop-list, select the order in which this column will be used when creating breaks in the report.  Only fields with break types have this property.
    For example, if you have a break on the customer number field, the sales order number field, and the item number field in a block, and you want the report to first be ordered by customers, then by orders, and then by items on those orders, you would give the customer number field a break position of 1, the sales order number field a break position of 2, and the item number a break position of 3.    The report would then look like this:

Customer  1001A

Order 101

Item A1

Item A2

Order 103

Item A4

Customer 1001B

Order 102

Item A1

Item A3

  1. Set the Visible pop-list to true if the field will be displayed on the entity.  Select false if the field will be included on the entity, but not displayed.  
    When set to false, the Field Style, Display As, Tool Tip, Format Mask, Contents, and Text Case properties are not displayed.

  2. In the Hyperlink To property, enter the linking information for the field, if appropriate.  When possible, relative URL's should be entered (/xephr/show/entity) rather than absolute URL's (http://test1.ndsasp.com/xephr/show/entity).  Only visible fields have this property.

    When building linked reports, links into pdf's should not use the generic Show(); Xephr function.  Instead, they should use the specific ShowReport(); or ShowParam(); javascript code as Adobe Acrobat has deficiencies regarding redirect.

    HRef links and Javascript should always use single quotes ( ' ) instead of double quotes ( " ).

    When an entry is made in this field, the Link Style property will be displayed.

  3. In the Link Style property, select the style to be applied to links for this field.  If set to (from parent), the style used will be the Link Style from the block properties. Only visible fields with an entry in the Hyperlink To property will have this property.

  4. In the Hyperlink Scripted pop-list, select true or  false.  Only visible fields with an entry in the Hyperlink To property will have this property.

    When this pop-list is set to true, it indicates that the entry in the Hyperlink To property is a script.  If you entered a Database Function Calls or a Link between Entities, this pop-list should be set to true.  

    When this pop-list is set to false, it indicates that the entry in the Hyperlink To property is a direct link and not a script.

  5. In the List of Values property, if a list of values should be applied to this field, select the desired pre-defined list of values from the pop-list.  Only visible fields have this property.

  6. In the Field Style pop-list, select the style to be used for this field on this block on this screen. If set to (from parent), the default field style for the block will be used.  Only visible fields have this property.

  7. In the Display As property, select the desired display setting for this field.   Choices are:

  1. In the Tool Tip property, enter the data to be displayed when the user hovers over this field with the mouse.  Normally used for images, when the user hovers over the field in the browser with the mouse, the data entered here is displayed.  Although offered for all field types, the browser on which the user is running the entity will determine whether the tool tip is displayed for field types other than image.  Only visible non-label fields have this property.

  2. In the Format Mask property, select the format mask for this field from the list of pre-defined format masks.  Only visible text and text area fields have this property.

    Date fields must have a format mask entered.  Format masks can only be applied to date, date/time, and numeric type fields.  
    Xephr expects dates returned from the datasource to be in the format defined in the datasource.  The format mask is then applied to the date returned from the datasource.

    For more information, see the Format Masks section.

  3. In the Text Case pop-list, select the text case with which to display values for the field.  Choices are None, Uppercase, and Lowercase.  Only visible non-image fields have this property.

  4. In the Image Location property, enter the location of the image.  When possible, relative URL's should be entered (/xephr/images/image.gif) rather than absolute URL's (http://test1.ndsasp.com/xephr/images/image.gif).  Only visible non-database image fields have this property.  

  5. In the From Query pop-list, verify that the correct query block is displayed in this field.  This is the block for which the database query is used to define the data displayed for this column.  Only database fields have this property.

  6. In the From Column pop-list, verify that the correct column is displayed in this field.  This is the column selected in the query defined in the 'From Query' property from which the data for this field will be obtained.  The value in this field can be changed to another column from the same table/view.  Only database fields have this property.

  7. In the Is Formula pop-list, select true if the field contains a formula.  Select false if the field does not contain a formula.  Only visible non-database text and text area fields have this property.  

  1. In the Formula property, enter the formula for this field.  This field is only displayed and must be entered when the Is Formula pop-list is set to true.

  2. In the Contents property, if this field will display a value by default, enter the value here.  Only visible non-database non-formula fields have this property.   

  3. In the X property, enter the location in the report's measurement units from the top left corner of this field on the X-axis (horizontal) of the layout screen.  You can change this here, or it will be changed when you move the field with the Designer Tool.

  4. In the Y property, enter the location in the report's measurement units of the top left corner of this field on the Y-axis (vertical) of the layout screen.  This value is used in conjunction with the Y Anchor Type setting.  You can change this number manually, or it will be changed when you are altering the layout with the Designer Tool.

  5. In the Y Anchor Type pop-list, select the anchor for the Y-axis for this field.  Choices are Fixed, Relative to Output, or Relative to Field.

  1. In the Y Anchor property, select the block or field that will be used to determine the location of the field on the Y-axis.  The property is only displayed when the Y Anchor Type pop-list is set to Relative to Field.

  2. In the Width property, enter the width of the field in this report's measurement units.

  3. In the Height property, enter the height of the field in this report's measurement units..

  4. In the Expand Type pop-list, select the option that best defines how the field will be sized. Choices are Expandable, Fixed No Scroll Bars, and Fixed with Scroll Bars.

  1. In the Show On pop-list, select the pages on which this field will be displayed.  Choices are All Pages, First Page Only, and All but First.

  2. In the Hide If property, enter the conditions under which this field will be hidden.  The field will be visible on the block when the conditions are not met.  When an entry is made in this property, the Show If property will be hidden.

  1. In the Show If property, enter the conditions under which this field will be displayed.  The field will be hidden when the conditions are not met.  When an entry is made in this property, the Hide If property will be hidden.

  1. In the Z Order property, enter the order in which the field will be displayed in comparison with the other fields on the block.  At this time, Z order only affects fields when they overlap one another.  For example, if you had 2 fields on the screen, one with a Z order of 1, and the other with a Z order of 2, the one with the Z order of 2 will be displayed because it was generated last.

  2. The Created on property displays the date and time on which this field was created and cannot be changed.

  3. The Modified on property displays the date and time on which this field was last changed, and cannot be modified.

  4. When all changes have been made, press the [Save] button on the main toolbar.

Xephr is a registered trademark of NDS Systems, LC.

Copyright © 2007 NDS Systems LC.