How can I used Omni Field Security to set default values on a window?
By using the Lock, Disable or Hide Field modes on any field on a window, you can now use the conditional script to set default values. To stop the field selected actually being Locked, Disabled or Hidden just set the out parameter to false. This script will run each time a window is restarted, which is the correct place to set defaults. If you are changing the value of a field, it is recommended that you use the “run script” command to force the code behind that field to run, so your change is processed correctly. Screenshot/Script of Field Security settings to set default values in Customer Maintenance (field on main window). Screenshot/Script of Field Security settings to set default values in Vendor Maintenance (field not on main window). Screenshot/Script of Field Security settings to set default values in Employee Maintenance (field not on main window). Note: When a field is not on the main window, it works better to use code to lock/hide/disable the field and associate the Field