You attempted to set a property on a data environment object (Relation,В Cursor) while the data environment is loaded. The property value will be stored with the object, but the property will not take effect until the data environment is unloaded and then reloaded.
To unload the data environment
-
Issue CloseTables in the form:
В Copy Code [Formset.]Form.DataEnvironment.CloseTables
To reload the data environment
-
Issue OpenTables in the form:
В Copy Code [Formset.]Form.DataEnvironment.OpenTables