The newdatabasewithtextfile statement creates a new database from a plain text file. The fields will be named A, B, C, etc.
Parameters
This statement has one parameter:textfile – path and name of text file, or “” to ask user.
Description
This statement creates a new database from data in a plain text file. Here is an example that creates a new database from a file named Mailing List.text.
newdatabasewithtextfile "~/Dropbox/MailingList.text"
Note: If the first line of the text file contains the field names, use the NewDatabaseWithTextFieldNames statement, which will automatically set up the field names in the new database based on the contents of the first line.
See Also
History
Version | Status | Notes |
10.2 | New | New in this version. |