> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sample 4. Step 7.7: Name of Sales column, kwSales element

> Step 7.7 of FlexiLayout Studio Sample 4: create a kwSales Static Text element to find the Sales column name and bound the invoice table on the right.

Even though the **Sales** column itself is not needed, you can use it to limit the table on the right.

## Create the kwSales element

<Steps>
  <Step title="Create the Static Text element">
    In the **TableHeader** element, create a [Static Text](/flexi-capture/fls/template/static-text) element and name it **kwSales**.
  </Step>

  <Step title="Enter the search text">
    Click the **Static Text** tab. In the **Search text** field, type `Sales`.
  </Step>

  <Step title="Add position relations">
    To place this name on the same level as the **Designation** name, click the **Relations** tab and specify the additional constraints described in [Step 7.2](/flexi-capture/fls/tutorial4/4step7-2).
  </Step>

  <Step title="Add a pre-search condition">
    Because the name of the **Sales** column is to the right of the **kwTotal** column (when it is present on the image), click the **Advanced** tab and specify this condition in **Advanced pre-search relations**: if the **kwTotal** element is detected, search for the image object to the right of it. In the [FlexiLayout language](/flexi-capture/fls/code/general-code):

    ```text theme={null}
    If Not (TableHeader.kwTotal.IsNull) Then
    RightOf: TableHeader.kwTotal, 0 * dot;
    ```
  </Step>

  <Step title="Skip the search when Designation is missing">
    To optimize the search, do not search for the name if the **Designation** name is not detected, as described in [Step 7.2](/flexi-capture/fls/tutorial4/4step7-2).
  </Step>

  <Step title="Match the FlexiLayout">
    Match the FlexiLayout to confirm that the element is detected on the first page of the document.
  </Step>
</Steps>
