no data is written to the collection / в коллекцию не записываются данные

Yes, the field is associated with a dataset.
thanks for the help, but this doesn’t work correctly as the function creates a new unbound field .

Да, поле связано с набором данных.
спасибо за помощь, но это работает неправильно, так как функция создает новое несвязанное поле.