What should you do to ensure that forms are closed in the proper order…

An application is accessed through the Summit form, which can open the Customers form and the Orders form. The Customers form can also open the Orders form, and the Orders form can open the Customers form. What should you do to ensure that forms are closed in the proper order so that the session closes down when the last form is exited?

An application is accessed through the Summit form, which can open the Customers form and the Orders form. The Customers form can also open the Orders form, and the Orders form can open the Customers form. What should you do to ensure that forms are closed in the proper order so that the session closes down when the last form is exited?

A.
You should keep track of the order of the opening of forms in a global record group.
Then in the Key-Exit trigger for each form, you should allow only the last form that was opened to be closed.

B.
You should make sure that the Summit form that started the session is the last one closed by coding its Key-Exit trigger to exit only if no other forms are open.

C.
You do not need to do anything because Forms keeps track of the forms that are opened internally and does not allow the user to close them in the wrong order.

D.
You do not need to do anything.
No matter which form is closed last, the session will close properly.



Leave a Reply 0

Your email address will not be published. Required fields are marked *