• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
    • Batch Editing Applications
    • Tabulation Applications
    • Data Sources
      • Data Connection String
      • CSPro DB
      • Encrypted CSPro DB
      • Text
      • JSON
      • CSWeb
      • None
      • In-Memory
      • Comma Delimited (CSV)
      • Semicolon Delimited
      • Tab Delimited
      • Excel
      • R
      • SAS
      • SPSS
      • Stata
      • CSPro Export
      • Data Source Identification of Cases
      • Case Read Optimization
    • Synchronization
    • CSPro Statements and Functions
    • Text Templates
    • Templated Reporting System
    • HTML, Markdown, and JavaScript Integration
    • Action Invoker
    • Appendix
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataManager>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

None Data Source

Overview
The None data source is not associated with a file. It can be used as an initial data source when you want to control when a data source associated with a dictionary is opened (by using a logic function such as setfile).
The initial behavior of the None data source is as if a file were opened with no cases. However, even after writing a case, the data source reports that it is empty. That is, loading specific cases will always fail, and writing cases will always succeed, even though the contents of the case are ignored. A None data source shares similarities with Working Storage dictionaries.
A similar data source, In-Memory, is also not associated with a data file, but cases written persist in memory until the data source is closed.
Typically CSPro uses a file extension to determine what kind of data source to open, but because there is no file associated with a None data source, you must use the connection string to specify that you want to use a None data source. The following connection string specifies a None data source:
|type=None
Functionality
The None data source supports the following features:
Feature
Supported
Storage method
None
Reading cases
✔
Writing cases
✔
Notes, case labels, and case statuses
✔
Storage of more than one kind of record
✔
Binary data items
✔
Deleting cases
✔
Undeleting cases
✘
Syncing data
✘
Cases with duplicate keys
✔
Case identification via UUID
✔
Contains an embedded dictionary
✘
Allows record sorts
✔
See also: Data Sources