Export Data Dialog
Top  Previous  Next


You can export data from table, view or query result to any of 14 available formats (MS Excel, MS Word, RTF, HTML, TXT and more). Export Data Dialog is a very powerful tool, allowing you to export data easily and quickly, and set various export options. It is based on EMS QuickExport Component Suite (check http://www.ems-hitech.com/quickexport/ for details).

To export data from a table

1 Select the table to export data from in the DB Explorer tree (press Ctrl+F for quick searching).  
2 Right-click and select the Data Manipulation item from the popup menu.  
3 Select the Export Data item from the Data Manipulation submenu.  

or  
 
1   Open the table to export data from in the Table Editor.  
2   Open the Data tab.  
3   Click the Export Data button on the toolbar.  

To export data from a query

1 Build a query in the SQL Editor or Visual Query Builder.  
2 Execute the query.  
3 Open the Results tab.  
4 Click the Export Data button on the toolbar.     

Any of the actions above open the Export Data Dialog.

Export Type  
 
Formats
Select the result data format. The file name extension in the Destination File box changes according to the selected export type.

Options

Go to the first record  
Checked option starts exporting from the first record of the data set.  
 
Export empty table  
Checked option allows exporting empty data set.  
 
Current record only  
Checked option exports only current data set record.  
 
Skip ... records  
Defines the number of records, which are not exported.  
 
Export all records / Export only ... records  
Defines whether all records are exported from the dataset or only a certain number of records.  

Destination file
Set the name of the result file to export data to.

Open file after export
Check to open the result file in the appropriate program after export.

Print file after export
Check to send the result file for printing after export.

Fields  

This tab allows you to select certain fields from the data set for exporting. If you want all the fields to be exported you can skip this tab.

To select fields, move them from the Available Fields list to the Included Fields one. To move the field from one list to another double-click it or select it (use Ctrl or Shift to select multiple fields) and click button > or <. To move all the fields click button >> or <<.

If you leave the Included Fields list empty, all the fields are exported default, except BLOB fields. To export BLOB fields, you must select them for export.

Formats  

Standard
This tab allows you to customize the data formats applied to exported data. Edit the format masks to adjust the result format in the way you need.

User
On this tab you can set the required data format for certain fields only. This tab is available only if there are fields with adjusted formats in the data set. These fields are listed in the Field Name column. The field format is set in the Format column, and the sample field value in the given format is displayed in the Sample column.

Header & Footer  

This tab allows you to set headers and footers for the result documents. It is unavailable for Access, XML and DBF types.

Caption & Align & Width  

Allow Captions
Checked option allows column captions in the result file.


Use grid to set the captions of the result table columns. Default column captions correspond to the database field names.
For some of the export types columns Width and/or Align are also available. In the Align column you can select the text alignment for the certain column (Left, Right or Center). In the Width column you can set the numeric value, defining the width of the result column. This tab is unavailable for DBF export type.

Excel Options  

Data Format
This tab allows you to define a specific format for each data column, header, footer, column captions and aggregate functions. Select the field from the Fields list or select an element of the result Excel sheet (captions, footer, etc.) from the Options list and set its font, borders and fill. All the changes you make are displayed in the sample cell. For data columns you can also define aggregate functions (Aggregate tab): AVG (average value), MAX (maximum value), SUM (sum of the values), and MIN (minimum value). The aggregate function is added to the cell under the column. Click Reset item to reset all format setting for the current item, click Reset all to reset format settings for all items.

You can also define repeating styles for data columns or rows on the Styles tab. Click button to add a style and set its format. After you define all the styles, set the strip style to Col or Row (on this depends if these styles will be applied to columns or rows). To delete a style, use button . To load and save styles use buttons
and .

Advanced
This tab allows you to define headers and footers of the result document pages (the default page footer is page number) and the sheet title.

Access Options  
 
Table Name
Set the name of the Access table, already exists or needs to be created.

Create Table if it does not exist in the database
Checked option creates the table with the given name in the result Access database.

Word / RTF Options  

This tab defines options for MS Word and RTF export.

Default font
Select the font to use for displaying the table data in the result file.

Row header font
Set the font for the column captions.

Page Orientation
Select the result page orientation - portrait or landscape.

HTML Options  

Preview
This tab allows you to define the colors of various elements of the result HTML document, such as: default font color, header font color, table font color, background colors and link colors. To change the color of some element, just click this element and set the color you need. You can also use various HTML templates to make the result document look in the way you need. Select a template from the Template drop-down list or click Load template to browse for templates. If you have changed some HTML elements manually and you like the result, you can save it as a template for future using by clicking Save as template button.

Basic
This tab allows you to define the title of the result document and set the mode of the CSS (Cascade Style Sheets) using. The default CSS using is internal, but you can set to external and define your own CSS file in the CSS file name edit field.

Multi-File
This tab allows you to export your data not to a single HTML document, but to a number of documents. Check option Use multi-file export to enable this mode and define the maximum number of records in each result file in the appropriate edit field. The Generate index option defines if an index page should be generated without any data but only with links to data pages. To customize these links use Index Link Template. Set a template for links on the index page, e.g. 'Page_' or 'Part '. The Navigation panel allows you to define whether navigation links are placed on the top and bottom of data pages or not (On Top, On Bottom options) and set templates for these links.

Advanced

On the Body options panel you can set the default font name of the result document and set the document background. In the Advanced attributes edit field you can define any attribute values for the HTML tag <BODY>.The Table options panel allows you to define such attributes as Cell padding, Cell Spacing, Border and Background. In the Advanced attributes box you can define any attribute values for the HTML tag <TABLE>.

PDF Options  
 
Select the document font in the list at the left (Header Font, Caption Font, Data Font, Footer Font) and set its properties at the right - font name, encoding, size and color. The Sample box shows how the selected element will look like in the result PDF document.

Grid Options
Set options for displaying tables in the result PDF document.

Page Options

Page Size
Allows you to set a pre-defined fixed page size for the result document. If you change page height or width manually, Page Size becomes User.

Width
Page width in Units for the result document.

Height
Page height in Units.

Units
Units in which page width and height are set.

Orientation
Page orientation - portrait or landscape.

Margins
Set margins for the result pages in the appropriate boxes.
 
ASCII Options  

This tab defines options for Text and CSV export.
 
TXT Options
If option Calculate column width is checked (default), then width of each column in the result file is set automatically depending on the maximum number of symbols in the column cells. Spacing sets the distance (in symbols) between the data columns in the result file.

CSV Options
If option Quote Strings is checked, then all the strings are exported as quotations, and the apostrophes are doubled. Comma defines the symbol, delimiting columns in the result file.

XML Options  

Encoding
Defines the encoding of the result XML document.

Standalone
Check this option to make the result document standalone.

See also:
Export Data as INSERT Dialog
Import Data Wizard
Copy Data from File Wizard
Copy Data to File Wizard


Availability:
Windows Professional
Yes  
Windows Lite
No  
Linux Professional
Yes (w/o MS Access)  
Linux Lite
No