Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Clear table Version 2 (Net)

Action group: Tables 

...

Description

The action clears tables.

Action icon


Image Added

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Data tableThe table from which all values will be cleared.Robin.DataTable
Yes
Whith out header.If the value is true, then the first row of the table is skipped.Robin.BooleantrueNo

Special conditions of use

The first row is considered to be the headers of the table.  

Only the data from the table cells is deleted when clearing. The number of cells remains the same.

Example of use

Task

There is a CSV table.

 Image Added

Clear the table excluding the header and create a new modified document. 

Solution

Use the "Get table from CSV", "Clear table", "Table to CSV" actions.

Implementation

  1. Assemble a robot scheme with the actions.
    Image Added
  2. Set the "Get table from CSV" action parameters.
    Image Added
  3. Set the "Clear table" action parameters.
    Image Added
  4. Set the "Table to CSV" action parameters. 
    Image Added
  5. Click "Start" in the top panel.

Result

The program robot completed successfully.

Image Added

A new table is created.

Image Added


 

Очистить таблицу/Сlear the table

Группа действий: Таблицы 

Действие предназначено для удаления данных из таблицы.

Image Removed

Настройки

...

Таблица

...

Особые условия использования

Первая строка считается заголовками таблицы.  

При очистке удаляются только данные из ячеек таблицы. Количество ячеек остается прежним.

Пример использования 

Задача: имеется таблица в формате CSV Image Removed. Необходимо очистить таблицу без учета шапки и создать новый изменный документ. 

Решение: воспользоваться действиями "Получить таблицу из CSV", "Очистить таблицу", "Сохранить таблицу в CSV". 

Реализация:

...

Результат:

Программный робот отработал успешно. 

Image Removed

Создана новая таблица

Image Removed