Xbasic

A5_BatchPassiveLinkCreate Function

Syntax

C a5_batchPassiveLinkCreate(C cs ,C tableList ,C folder ,C prefix ,L overwriteWithoutPrompting [,L flagImport [,L addTablesToDatabase ]])

Arguments

cs

The connection string required to connect to the back-end database.

tableList

A CR-LF delimited list of tables on the back-end database.

folder

The directory into which to save the new tables.

prefix

A character string to prefix to each of the source table names when defining the destination table names.

overwriteWithoutPrompting

Logical. Indicates whether the user needs to approve overwriting an existing table of the same name. .T. = Do no prompt the user. .F. = Ask the user for permission to overwrite an existing table

flagImport

Logical. Optional. Default = .F. .F. = Import tables as passive-link tables .T. = Import tables as standard tables

addTablesToDatabase

Logical. Optional. Default = .T. Only meaningful if Flag_Import is .T. . .T. = Add tables

Description

The A5_BatchPassiveLinkCreate() function creates multiple passive-link tables. If Flag_Import is .T. then the function may import the tables as standard tables, not passive-link tables.

Limitations

Desktop applications only.

See Also