# hide\_block

&#x20;`hide_block` function has 2 variants:

{% tabs %}
{% tab title="Variant 1" %}
#### Description <a href="#description" id="description"></a>

Hides the data block specified with `blockName` parameter.

#### Declaration <a href="#declaration" id="declaration"></a>

```
void hide_block(char blockName);
```

#### Parameters <a href="#parameters" id="parameters"></a>

`char blockName`

#### Return Value <a href="#return-value" id="return-value"></a>

#### Example <a href="#example" id="example"></a>

```
hide_block('emps');
```
{% endtab %}

{% tab title="Variant 2" %}
#### Description <a href="#description-1" id="description-1"></a>

Same as Variant 1 if `cascade` is `false`. if `cascade` parameter is true, hides all detail blocks recursively.

#### Declaration <a href="#declaration-1" id="declaration-1"></a>

```
void hide_block(char blockName, bool cascade);
```

#### Parameters <a href="#parameters-1" id="parameters-1"></a>

`char blockName`

`bool cascade`

#### Return Value <a href="#return-value-1" id="return-value-1"></a>

#### Example <a href="#example-1" id="example-1"></a>
{% endtab %}
{% endtabs %}
