• <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 DB
      • Encrypted CSPro DB
      • Text
      • JSON
      • None
      • In-Memory
      • Comma Delimited (CSV)
      • Semicolon Delimited
      • Tab Delimited
      • Excel
      • R
      • SAS
      • SPSS
      • Stata
      • CSPro Export
      • Case Read Optimization
    • 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>

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. For example, the following connection string, specified in a data entry PFF, would result in the main dictionary being attached to a None data source:
InputData=|type=None
Functionality
The None data source supports the following features:
FeatureSupported
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