• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
    • Batch Editing Applications
    • Tabulation Applications
    • Data Sources
    • CSPro Statements and Functions
    • Templated Reporting System
    • HTML and JavaScript Integration
    • Action Invoker
    • Appendix
      • Appendix A - Installation
      • Appendix B - Keys Summary
      • Appendix C - Menu Summary
      • Appendix D - Toolbar Summary
      • Appendix E - Application Properties
      • Appendix F - Converting Within IMPS or ISSA
      • Appendix G - Errors in Censuses and Surveys
      • Appendix H - File Types
        • File Types
        • JSON Specification Files
        • SQLite Use in CSPro
        • Importing Data to CSPro Format
        • Locking Application Files
        • Temporary Data File
        • CSPro DB File Format
        • Files Description
          • Data Dictionary File (.dcf)
          • Data Entry Application File (.ent)
          • Forms File (.fmf)
          • Logic File (.apc)
          • Message File (.mgf)
          • Question File (.qsf)
          • Application Properties File (.csprops)
          • Program Information File (.pff)
          • Binary Data Entry Application File (.pen)
          • Index File (.csidx)
          • Notes File (.csnot)
          • Status File (.sts)
          • Paradata Log File (.cslog)
          • Operator Statistics File (.log)
          • Listing File
          • Frequencies File
          • Batch Edit Application File (.bch)
          • Edit Order File (.ord)
          • Saved Arrays File (.sva)
          • Tabulation Application File (.xtb)
          • Table Specifications File (.xts)
          • Tables File (.tbw)
          • Area Names File (.anm)
          • Table Matrices File (.tab)
          • Table Matrices Index File (.tabidx)
          • Frequency Specification File (.fqf)
      • Appendix I - JSON Representations
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataViewer>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

Index File (.csidx)

The index file stores the case IDs and their physical location in the data file. This helps CSPro applications manipulate the data file more quickly. The file is a SQLite database and should not be modified file outside of CSPro.
CSPro automatically generates an index file when creating a new data file. CSPro then coordinates between both files as cases are added, modified, or deleted.
When CSPro opens a data file, it looks for the corresponding index file. If it does not find one, CSPro automatically generates a new one. If you suspect, for any reason, that the index file has been corrupted, or does not match the data file, simply delete the index file and let CSPro generate a new one.
An index is only created for Text and JSON data sources. Prior to CSPro 7.0, the data file index had the extension .idx.