Difference between revisions of "ReadExportFile"
(CurrentDataDirectory is now CurrentDataFolder EW 14658) |
|||
Line 1: | Line 1: | ||
− | + | ||
''requires Analytica Enterprise or higher'' | ''requires Analytica Enterprise or higher'' | ||
− | + | [[Category:Database Functions]] | |
− | Reads an array from a file that is in the [[Export-Import data format]]. This file format is produced when you use the '''File→Export''' menu command when viewing a table. | + | == ReadExportFile(filename'', showDialog'') == |
+ | Reads an array from a file that is in the [[Export-Import data format]]. This file format is produced when you use the '''File → Export''' menu command when viewing a table. | ||
Local indexes are created for each dimension in the file. | Local indexes are created for each dimension in the file. | ||
Line 12: | Line 13: | ||
The optional «showDialog» parameter can be set to true to force the file selection dialog to always appear. Doing so allows the user to change which file is read. | The optional «showDialog» parameter can be set to true to force the file selection dialog to always appear. Doing so allows the user to change which file is read. | ||
− | = Library = | + | == Library == |
− | |||
Database Functions | Database Functions | ||
− | = | + | ==History== |
− | + | Introduced in [[Analytica 4.5]]. | |
− | = | ||
+ | == See Also == | ||
* [[Export-Import data format]] | * [[Export-Import data format]] | ||
− | * [[Export]] command | + | * [[Export]] command (at present there isn't a [[WriteExportFile]] function. For now, the Export command can be used instead) |
* [[ReadTextFile]] | * [[ReadTextFile]] | ||
* [[ReadCsvFile]] | * [[ReadCsvFile]] | ||
+ | * [[Using the Import and Export Commands]] |
Revision as of 00:02, 3 February 2016
requires Analytica Enterprise or higher
ReadExportFile(filename, showDialog)
Reads an array from a file that is in the Export-Import data format. This file format is produced when you use the File → Export menu command when viewing a table.
Local indexes are created for each dimension in the file.
When «filename» does not include a complete file path, the name is interpreted relative to the CurrentDataFolder.
The optional «showDialog» parameter can be set to true to force the file selection dialog to always appear. Doing so allows the user to change which file is read.
Library
Database Functions
History
Introduced in Analytica 4.5.
See Also
- Export-Import data format
- Export command (at present there isn't a WriteExportFile function. For now, the Export command can be used instead)
- ReadTextFile
- ReadCsvFile
- Using the Import and Export Commands
Comments
Enable comment auto-refresher