Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Command Index > G > GATEWAY

IMPORT

Scroll Prev Top Next More

Specifies that you want to import an external file to an R:BASE table.

 

GATEWAY_Import

 

Options

 

APPEND

Adds the imported data to the end of the table or view specified in tblview.

 

APPEND_UPDATE

Updates the record if it exists in the tblview destination, otherwise the record is added. In order to specify a matching row for the UPDATE comparison, use the KEYS parameter

 

CREATE

Creates a destination table with the same name as the imported file.

 

filename

Specifies the name of the file to import.

 

OPTION

Specifies an additional parameter for the input. Options listed may vary based upon selected format. You must Use the pipe "|" symbol to separate OPTION parameters if more than one parameter is used.

 

ADD_MAPPING

AUTONUM

COLUMN_COUNT

ERROR_FILE

ESCAPE_QUOTES

FIRST_ROW

FLATTEN_STRUCTURE

KEYS

LAST_ROW

MESSAGES

NODE_PATH

PASSWORD

PERCENT_MODE

PROCESS_ATTRIBUTES

QUALIFIER

REC_SEP

SEPARATOR

SHEET_INDEX

SHOW_PROGRESS

SOURCE_TABLE

SPECIFICATION_FILE_NAME

 

REPLACE

Replaces the rows in the table or view specified in tblview with the imported data.

 

tblview

Specifies the name of a table or view for import.

 

TEMPORARY

Creates a temporary table that disappears when the database is disconnected.

 

type

Specifies one of the following codes for accepted file formats:

 

Code

Details

DB

Paradox

DBF

dBASE

TXT

ASCII File, Delimiter None, Qualifier None

CSV

ASCII File, Delimiter Comma, Qualifier Double Quote

QSV

ASCII File, Delimiter Comma, Qualifier Single Quote

ISV

ASCII File, Delimiter Semicolon, Qualifier Single Quote

TAB

ASCII File, Delimiter Tab, Qualifier None

TIL

ASCII File, Delimiter Tilde, Qualifier None

CUS

ASCII File, Delimiter and Qualifier based on DB Settings, or custom SEPARATOR and QUALIFIER values

XLS

MS Excel

WKS

Lotus 1-2-3

HTM

HTML

WQ1

QuattroPro

XML

XML Format

MDB

MS Access Database

JSON

JavaScript Object Notation

ODS

OpenOffice Spreadsheet