F
F
foonfyrick2021-09-29 09:10:37
1C
foonfyrick, 2021-09-29 09:10:37

Why is the variable not defined?

In the example on the left everything works, but in my example it doesn't.
615403494490e154141477.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sgr_A, 2021-09-29
@foonfyrick

Specify the " &AtClient " directive for the variable:

&НаКлиенте
Перем Сообщ;

&НаКлиенте
Процедура Стартовать(Команда)
  Сообщить(Сообщ);
КонецПроцедуры

Сообщ = "сообщение";

D
Dmitry Kinash, 2021-09-29
@Dementor

In the example on the left, it is either an object module or a thick client in general. And on the right - a managed form, where the visibility of the client and server was incorrectly marked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question