Export Operations

Overview of the Export Process

The Export operation takes data from a table or set and converts it to a different file-format, letting you use your data in other applications.

Note : When you run an Export Operation for a set which has one-many child tables, if no fields from the one-many child tables are included in the Export definition, Alpha Five only exports one instance of each parent record.

For example, one of the most common formats is a comma-delimited ASCII file. By using an Export operation you can export data from a table containing names and addresses and export it to ASCII.

Customer ID

Name

Telephone No

001

Adams

555-8211

002

Baker

555-2211

003

Pertwee

555-8765

004

Phillips

555-4567

Note : Microsoft Access reads .DBF file formats, so there is no need to perform an export operation to move data to it.

The output file (below) has a different record on each row, and fields are enclosed in quotation marks and separated by commas. This is a standard format used by many applications.

"001","Adams","555-8211"
"002","Baker","555-2211"
"003","Pertwee","555-8765"
"004","Phillips","555-4567"

Performing an Export Operation

  1. Click the Operations tab on the Control Panel.

  2. Click the New button. The Create New Operation dialog box appears.

  3. Select "Export" as the operation, and select the table you want to copy.

  4. Click the Create button to display the Export Builder or click Create Using Genie to display the Export Genie (see Using the Export Genie ).   [Picture]

Export Builder

  1. Choose an Export Type. The following types are supported:

  2. Fill in the export settings.

  3. Select whether to "Export" or "Omit" the Field Names.

Export Settings

When exporting data to an ASCII file, Alpha Five allows you to set various options to determine the structure of the result file.

Character-Separated ASCII File Settings

The format for a Character-Separated ASCII file can vary. The default format is a comma-delimited file, with character fields in quotation marks, and a carriage return and line feed to separate records. [Picture]

Export Settings for Character-Separated ASCII

You can adjust the following export settings:

Table ASCII File Settings

When exporting to an ASCII file, Alpha Five places data in columns. By default two spaces are inserted between each column, however you can change this to a different number. The valid range is between 0 and 24. To set a number besides 2, click the Export Settings button. In the Export Table dialog box, type in the number of spaces you want to insert.

  1. Click the Properties... button or the button on the toolbar and set the appropriate configuration options.  [Picture]

Export Settings for a Table ASCII

  1. Click OK to continue or Cancel to discard your inputs.

  2. Enter a name for the resulting file in the Export file field.

Choosing the Fields to Export

At the bottom of the window are list boxes used for selecting the fields to include in the result table. The Export Fields list box on the right displays the fields currently selected for inclusion.

  1. To add a field to the list, double click a field, or drag it to the Export Fields list box. To copy all of the fields in a particular table, click the Select All button. To remove fields from the Export Fields list box, select a field and press Delete.

Select Records

  1. Optionally, click the button on the toolbar to open the Select Records dialog box and change the record selection. [Picture]

Select Records Dialog Box

  1. Click the button to run the operation.

Using the Export Genie

  1. Click Next > to continue.  [Picture]

  1. Select the Export file format.

  2. Optionally, click Set export options to modify export parameters.

  3. Click Next > to continue.  [Picture]

  1. Enter the Name of the export file.

  2. Click Next > to continue.  [Picture]

  1. Optionally, click the Include field names check box.

  2. Move the fields that you wish to export from the Field list to the Fields to export list.

  3. Click Next > to continue.  [Picture]

  1. Indicate which records to export.

  2. If you clicked the Selected records radio button, make a selection from the list box. Otherwise, continue with step 14.

  3. Enter the filter and order criteria required by your choice.

  4. Click Next > to continue.  [Picture]

  1. Indicate whether you want to run the operation now, save the operation and then run it, or view the settings of the Export Builder.

  2. Click Finish.   [Picture]

  1. If you selected Run the Export operation now, (but first save the definition for future use), the Save export settings as... dialog box will appear.

  2. Enter the name of the operation into the Name field and click OK.

  3. If you selected Don't run the Export operation now, just show me how the genie has filled in the Export Builder, the Export Builder will appear.

  4. Optionally, click Save to display the Save export settings as... dialog box.

  5. Enter the name of the operation into the Name field and click OK.

  6. Optionally, click the Run button on the toolbar to run the operation.

See Also

Overview of Batch Operations, Table Operation Methods