Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.11 KB

use-the-propertychange-event-to-test-procedures.md

File metadata and controls

39 lines (23 loc) · 1.11 KB
title keywords f1_keywords ms.assetid ms.date ms.localizationpriority
Use the PropertyChange Event to Test Procedures
olfm10.chm3077359
olfm10.chm3077359
9e0beb04-dc64-ad5d-ae77-8c11c11349b0
06/08/2019
medium

Use the PropertyChange Event to Test Procedures

This topic shows how to test procedures for a custom form page that uses VBScript and the Script Editor.

Perform the following steps to test simple procedures. Replace the code below with the code that you want to test. Each time a user changes the value of the Importance field, or any other default field, the code runs.

  1. Open the Script Editor. How?

  2. On the Script menu, click Event Handler.

  3. In the Events box, double-click PropertyChange.

  4. Add the following code in the event:

  MsgBox "This is my test procedure"
  1. On the Form menu, click Run This Form.

  2. Click the ! icon on the toolbar. The message box will appear.

  3. Click OK to close the message box.

[!includeSupport and feedback]