E
E
ElizabethP2020-06-30 17:16:25
1C
ElizabethP, 2020-06-30 17:16:25

Bypass and output of the table of values ​​1s?

Hello, I’m just starting my journey in 1s and so far I don’t really understand the syntax, but I can’t find an answer on the Internet.
Need to output a table of values ​​via Report() how to do it?
Thanks in advance for your replies.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Anton, 2020-06-30
@ElizabethP

Something like that:

Для каждого Стр Из Таблица Цикл
  МассивПодстрок = Новый Массив;
  Для каждого Кол Из Таблица.Колонки Цикл
    МассивПодстрок.Добавить(Стр[Кол.Имя]);
  КонецЦикла;
   Сообщить(СтрСоединить(МассивПодстрок, " "));
КонецЦикла;

V
VladNadyrof, 2020-07-01
@VladNadyrof

Just keep in mind that working with the ValueTable object is possible only in the context of the server.
In the context of a form, ValueTable is not available. Instead, use the FormDataCollection object.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question