• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
      • Introduction to Data Entry
      • Data Entry Application
      • Data Entry Editing
        • Introduction to Data Entry Editing
        • Editing Concepts
          • Type of Edits in Data Entry
          • Structure Edits
          • Consistency Edits
          • Checking Errors
        • Writing Logic
      • CAPI Data Entry
      • Network Data Entry
      • Android Data Entry
    • Batch Editing Applications
    • Tabulation Applications
    • Data Sources
    • CSPro Statements and Functions
    • Templated Reporting System
    • HTML and JavaScript Integration
    • Action Invoker
    • Appendix
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataViewer>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

Type of Edits in Data Entry

Validate Individual Data Items
These checks are designed to determine whether a response has a value that is inside or outside the valid limits for that response as defined in the dictionary. The data entry application can be designed to allow forcing out-of-range values, to force the operator to reenter a valid value, or not to allow any input on the item.
Perform Structure or Consistency Edits
You can write code to check the structure of the case or test the consistency within related items. These instructions can be written for any object such as a case, level, form, record, roster, or field. The instructions can be executed before the cursor moves into the object (onfocus); at the beginning of an object (preproc); after cursor moves off the object (killfocus); or at the end of the object (postproc). You can also perform Interactive Editing after you finish entering a case.
Display Error Messages
The system displays automatic error messages if the item is out-of-range, but you can also use the errmsg function to write customized messages to be displayed in the screen during data entry.
Control the Data Entry Flow
You can use skip or advance statements to control the data entry flow in a case or end data entry at any time if a particular condition occurs. Also see the endgroup and endlevel statements.
Control Stopping Data Entry
The OnStop function can be used to keep the operator from stopping data entry or to allow stopping only under certain conditions. You can also stop the application for the current case or terminate the operation. You can stop the application at any time and the system will save the partial case. Also see the ispartial function.
Write Notes
You can add notes to a field, which can be viewed by the operator and/or edited. These notes can be used to display instructions to the keyer or to elaborate on a particular value. See the putnote, getnote, and editnote functions.
Generate Reports
You can write customized reports to a file. For example, you could create a report to summarize the demographic characteristics in the household.
Use Secondary Forms
You can use a secondary form to enter data under certain conditions.
Display Option Menus
The system displays a window with the valid values and the operator may select the correct one. See the accept or showarray functions.
Use External Files
The most common functions are loadcase and retrieve. The selcase Function can only be used in data entry applications.
Examine Content of Item
You can examine the content of a numeric item with the visualvalue function or alphanumeric item with the highlighted function before the item has been keyed.