newdatabasewithtextfile
newdatabasewithtextfile
TEXTFILE

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

- blueprintlibraries -- generates blueprints for all procedure library databases.
- constructfieldssheet -- opens a sheet to add/insert multiple new fields into the database.
- Database Blueprints -- exporting a database into a blueprint.
- fieldblueprint -- creates blueprint code for the specified field.
- fieldblueprintsheet -- opens a sheet to edit the blueprint of the current field.
- formblueprint -- creates blueprint code for the specified form.
- formblueprintsheet -- opens a sheet to edit the blueprint of the current form.
- formobjectblueprint -- creates blueprint code for specified form object.
- formoptionsblueprintsheet -- opens a dialog sheet to edit the blueprint of the current form options.
- newdatabaseusingblueprint -- creates a new database from a blueprint.
- newformusingblueprint -- creates a new form from a blueprint.
- saveblueprint -- save a blueprint of a database's structure.
- selectedformobjectsblueprintsheet -- opens a sheet to edit the blueprint of the currently selected objects.

History

Version | Status | Notes
10.2 | New | New in this version.