The Required property ascertains whether the user entered data in all fields whose Required property is True.
window.Required [= boolean]
• window – A window object.
• boolean – If True, the user entered data in all required fields.
Required fields are those in which an entry is necessary to store the record properly. You can make additional fields required using the field object’s Required property.
Use the window object’s Required property when saving data objects to the Dynamic User Object Store (DUOS). Since the accounting system won’t permit the user to save a record in a window without entering all required fields, checking the Required property from VBA lets you save the DUOS data object only when the accounting system permits the save.