Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I used Omni Field Security to set default values on a window?

0
Posted

How can I used Omni Field Security to set default values on a window?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123