Xbasic

A5_CreatePassiveLinkTable Function

Syntax

as P = a5_CreatePassiveLinkTable([* dsSpec [,* OpenConnection [,L suppressErrorMessages [,L addTableToDB [,L showProgress [,L allowCancel [,* argsPassedIn [,* CreateOptions ]]]]]]]])

Arguments

P

A pointer to the new table. The pointer has these subelements. .ErrorText = character error message .HasError = logical error flag

dsSpec

Optional. Default = NULL_VALUE(). A pointer containing a .DataSource property.

OpenConnection

Optional. Default = NULL_VALUE(). A SQL::Connection object.

suppressErrorMessages

Logical. Optional. Default = .F. .F. = Display error messages. .T. = Hide error messages.

addTableToDB

Logical. Optional. Default = .T. .T. = Add table to database .F. = Just create table, but do not add it to database.

showProgress

Logical

allowCancel

Logical

argsPassedIn

*

CreateOptions

*

Description

The A5_CreatePassiveLinkTable() function displays the Specify DataSource dialog. With this dialog you specify a SQL SELECT query that retrieves data from a SQL database.

Limitations

Desktop applications only.

See Also