How would you use the debugger to help diagnose the problem?

You have a Department form that uses OPEN_FORM to invoke the Employees form that displays all employees in the selected department. You are passing the DEPARTMENT_ID between forms. The forms work fine together. However, when you run the Employees form by itself, you receive the following error message as soon as the form appears:
FRM-40815 Variable GLOBAL_DEPARTMENT_ID
does not exist.
How would you use the debugger to help diagnose the problem?

You have a Department form that uses OPEN_FORM to invoke the Employees form that displays all employees in the selected department. You are passing the DEPARTMENT_ID between forms. The forms work fine together. However, when you run the Employees form by itself, you receive the following error message as soon as the form appears:

FRM-40815 Variable GLOBAL_DEPARTMENT_ID does not exist.

How would you use the debugger to help diagnose the problem?

A.
Set a breakpoint in the Department form at the OPEN_FORM code, run the Department form in debug mode, invoke the Employees form, and step through the code.

B.
Set a breakpoint in the When-New-Form-Instance trigger of the Employees form, run the Employees form in debug mode, and step through the code.

C.
Set a breakpoint in the Department form at the OPEN_FORM code, run the Department form in debug mode, invoke the Employees form, and view the Global/System Variables panel.

D.
Set a breakpoint in the When-New-Form-Instance trigger of the Employees form, run the Department form in debug mode, invoke the Employees, and step through the code.



Leave a Reply 0

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