• CSPro Getting Started Guide
    • Introduction
    • Installation
    • CSPro Tutorial
      • About the Tutorial
      • Exercise 1: Create a Data Entry Application
      • Exercise 2: Create the Data Dictionary
      • Exercise 3: Create the Data Entry Forms
      • Exercise 4: Enter Data
      • Exercise 5: Tabulate Data
      • Exercise 6: Modify the Table
      • Exercise 7: Add Edits to the Data Entry Application
        • Step 1: Write Logic for the Edit
        • Step 2: Compile the Logic
        • Step 3: Test the Edit
        • Step 4: Complete the Case
      • Exercise 8: Run a Batch Application

Step 3: Test the Edit

(Exercise 7, Add Edits to the Data Entry Application)
We are now ready to run the data application and make sure our logic is working properly.
  1. Run CSEntry by clicking run button on the toolbar, or pressing Ctrl+R.
  2. CSPro will ask you to save the changes. Click Yes.
  3. CSEntry will ask you to select a data file. Type MyData.dat for the file name, if it is not already there, then press OK.
  4. Type in any Operator ID.
  5. Click on add button on the toolbar, or press Ctrl+A to enter Add mode. The first form will appear with the cursor on MyDict identification.
  6. Type 2 and then Enter to fill in the ID item. The next form will appear, showing the person roster.
  7. Type 10 in the Age field.
  8. Type 1 in the Sex field.
  9. Type 1 in the Marital status field.
Your error message should appear on the screen as shown below.
exercise 07 03 testing logic check
Continue to the next step: Step 4: Complete the Case.