# Editing Table Formats and Aggregations

**URL:** <https://speciforum.org/t/editing-table-formats-and-aggregations/1558>\
**Category:** Configuration & Installation\
**Tags:** Specify-7, Members-only\
**Created:** [May 13, 2024, 5:00am UTC](https://speciforum.org/t/editing-table-formats-and-aggregations/1558 "2024-05-13T05:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elizabeth](https://avatars.discourse-cdn.com/v4/letter/e/34f0e0/32.png) [@Elizabeth](https://speciforum.org/u/Elizabeth)\
**Post date:** [May 13, 2024, 5:00am UTC](https://speciforum.org/t/editing-table-formats-and-aggregations/1558/1 "2024-05-13T05:00:00Z")

</div>

> 📖 This guide explains what table formats and table aggregations are, where they appear, and how to edit them.

> [!note] See our webinar on this topic:
> 
> [Webinar: Advanced Specify Customization in Specify 7](https://speciforum.org/t/webinar-advanced-specify-customization-in-specify-7/1848)

**Table formats** control which fields are shown (and in what order) for a specific table in query results, exports, and query combo boxes.  
Example: In the Agent table, you can display names as “last name, first name.”

**Table aggregations** control how multiple related records are combined into a single string.  
Example: A collecting event can have multiple collectors, so aggregation determines how those collectors are joined.

* * *

## Accessing Table Formats and Aggregations

There are two ways to get to table formats and table aggregations.

1. Navigate to the [**User Tools**](https://speciforum.org/t/user-tools-menu/536) menu, then go to **[Schema Config](https://speciforum.org/t/using-the-schema-config-in-specify-7/535)**
  - Choose the table you want to configure.
  - Use the picklist to select an existing table format/aggregation.
  - Click the :pencil_: to edit, or the ➕ to create a new one.

 ![Schema Format and Aggregation](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/d/d4de6d1b3743848f9749566c57e8f3d171ccdce8.png)

1. Navigate to the [**User Tools**](https://speciforum.org/t/user-tools-menu/536) menu, then go to **[App Resources](https://speciforum.org/t/app-resources-in-specify-7/582)**
  - Click the big App Resources button at the top.

  - Open the `Record Formatters` (DataObjFormatters) file for your current discipline or collection.

  - In this example, the file is under the Ichthyology discipline.

 ![DataObjFormatters in App Resources](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/4/4beb8700afe9073ca82ead6b0703c3d398b2dbc4.png)

> [!Note]  
> If you do not have this file, add it in the **[App Resource Hierarchy](https://speciforum.org/t/editing-forms-in-specify-7/1557#app-resource-hierarchy-4)**.  
> At your chosen level, click **➕ Add Resource** → **⚙ App Resource** → **Record Formatters**

* * *

## Table Formats

### Conditional Formatter

At the top of the form, you can enable `Conditional Formatter`. This lets you display different fields based on a condition.  
Choose a field to evaluate, then define the conditions.

In this example, the conditional format is `current`.

- If the value is true, the “true” fields and separators are used.
- If the value is false, the “false” fields are used.

### Customization

Let’s walk through the `Address` table format:

 ![Address Table Format](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/b/b37653858bab58968e6b27d7c8c2fea0e25d5f23.jpeg)

#### Field

Click Add Field to add a row with a blank separator and a field picklist.  
Choose the field(s) you want displayed.  
Use the arrows to reorder, and :trash_: to delete unwanted fields.

#### Separator

Use the **Separator** column to control how fields are joined.  
In the example above, `City` and `State` use a comma, while `Address2` and `Postal Code` use a space.

#### Field Formatters

Enable **Customize Field Formats** to choose a formatter per field.

 ![Custom Field Formats](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/9/9fddf9f1a8204c67eda8aee9b6098921c891aa04.png)

#### Configure Field

Click the gear icon between the field and delete button to open **Trim Leading Zeros**.  
When checked, leading zeros are removed from numeric fields.

Unchecked:

 ![Catalog number with Leading Zeros](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/a/ad9b04d55731bce24ce4f722e189f698c9dd14b4.png)

Checked:

 ![Catalog number without Leading Zeros](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/a/a3ae4db2c5842ca904819eaebcae0049493a0829.png)

#### Preview

Scroll down to preview the result.  
Use the eyeball icon to view a specific record, or click Search to find records via the query builder.

* * *

## Table Aggregation

In this section, you define how multiple related records are combined into a single string in queries and formats.

### Customization

You can customize the separator, suffix, limit, table format, and sort order.

 ![Determination Table Aggregation](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/5/54e7a7d7b90e9e1073ef89c6dadda1cb3d480801.jpeg)

#### Separator

Works the same way as in table formats: comma, space, or any text.

 ![No Separator](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/3/32b410c342b2a08a0dd356efe5c8a771aad1c437.png)  
 ![With a Separator](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/3/3b17cad344779144f2c2161d69b19d05115e145c.png)

#### Suffix

The suffix is appended to the end of the combined string.

 ![Suffix Example](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/3/32f62c6c6d6d468a2539675a8a5cc8712a707f1b.png)

#### Limit

Controls how many related records are included.  
A limit of `0` means “no limit” (all available records).

#### Table Format

If more than one table format applies to the same table, choose which one to use.

 ![Table Format in Determination Aggregation](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/0/04a344d5fc66171d91b3cbc9d3312bcd2d83b2b9.png)

#### Sort Field

Controls the order of aggregated records.  
The picklist includes visible and hidden fields.

### Example

Consider the `Collector` table.  
The default table format is defined by `Agent` as “last name, first name.”  
A collection object can have multiple collectors, so aggregation determines how they are combined.

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [May 15, 2026, 4:16pm UTC](https://speciforum.org/t/editing-table-formats-and-aggregations/1558/4 "2026-05-15T16:16:11Z")

</div>

Split this topic on May 15, 2026, 4:16pm UTC

4 posts were split to a new topic: [Adding suffixes to collectors in the field format editor](https://speciforum.org/t/adding-suffixes-to-collectors-in-the-field-format-editor/3622)
