• <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
      • CAPI Data Entry
        • Introduction to CAPI
        • CAPI Features
        • Capture Types
        • Multimedia
        • CAPI Strategies
        • How to ...
          • Create a New CAPI Application
          • Define Languages
          • Organize Forms
          • Enter Question Text
          • Create Fills In Questions
          • Edit Styles
          • Change Formatting
          • Add Images
          • Insert Link In Question Text
          • HTML Question Text
          • Question Text Macros
          • Resource Folders
          • Use Multiple Languages
          • Create Conditional Questions
          • Structure Movement
          • Create Helps for Fields
          • Show Values for Selection
          • Handle Multiple Answers
          • Choose Topic Sections
          • Create General Helps
          • Test Application
      • 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>

Create General Helps

Often a specialized general help is needed for a CAPI application. Such a help can be established in the following manner.
  1. Put a form with one alpha item at the end of all forms.
  2. Make question text for the item be the help text.
  3. Code in the OnKey function a key that will jump to the help form.
  4. Code the alpha item on the help form that will be used to jump back.
In the code below, Ctrl+H is used to jump to the general help. The data item X_HELP is on the form with the help text.
PROC GLOBAL

string lastField;

function numeric OnKey(numeric keystroke)

   
string thisField = getsymbol(); // current field location

   
if keystroke = 2072 and thisField <> "X_HELP" then // Ctrl+H
        lastField = thisField;
       
move to X_HELP;
   
endif;

   
OnKey = keystroke;

end;


PROC X_HELP

   
reenter lastField;