• Data Entry User's Guide
    • Introduction to Data Entry
    • Data Entry Concepts
    • How to ...
    • Files
      • Types of Files
      • Index File (.csidx)
      • Operator Statistics File (.log)
      • Listing File
      • Notes File (.csnot)
      • Status File (.sts)
      • Removing an Application from Android Devices
    • Summaries

Notes File (.csnot)

The notes file is a text file that contains all notes processed by a data entry application. The file contains the case IDs, the name of the data item to which each note belongs, the name of the operator, the time the note was left, and the note text. There may be multiple note records for a particular field.
The format of each note record is as follows:
  • The first N characters are the case IDs.
  • The next 32 characters are the field name as given in the dictionary (left justified). If you use field names longer than 32 characters, the field name will be encoded in a way so that it fits in 32 characters. You can use the NOTES_FIELD_VS value set of the notes dictionary to figure out which note is which.
  • The next 32 characters are the name of the operator ID (left justified).
  • The next 8 characters are the date the note was last modified (YYYYMMDD).
  • The next 6 characters are the time the note was last modified (HHMMSS).
  • The next 5 characters are the record occurrence number if applicable (right justified).
  • The next 5 characters are the item occurrence number if applicable (right justified).
  • The next 5 characters are the subitem occurrence number if applicable (right justified).
  • The remaining characters are the note text.
Note text can contain newline characters. If the note text is automatically wrapped in the note text box, there will be no newline characters, but the user can use the Enter key to manually insert new lines. If using the Original logic version, newlines will be written as \n and backslash characters will be written as \\. Using the CSPro 8.0+ logic version, newline characters are written as ␤.
The .csnot file can be processed by another CSPro application by creating a data dictionary for it. You can use the Dictionary Macros function to automatically create this dictionary.
Notes can be created, edited, and deleted using the getnote, putnote, and editnote functions.
Notes for non-text files (such as CSPro DB) are stored within the file itself and not in a .csnot file. Prior to CSPro 7.0, the notes file had the extension .not.
See also: Text Data Source, Newline Handling