SQL_ConnectString()

Syntax

ConnectionString as C = A5_ConnectString( Connection as  SQL::Connection, API as C )

Argument

Description

ConnectionString A formatted connection string that can be used by SQL::Connection::Open().
SQL::Connection A SQL::Connection pointer.
API The name of a supported API.

Description

The SQL_ConnectString() method invokes an API specific dialog to create a connection string.

Examples

dim co as SQL::connection

? sql_connectstring(co, "Access")

= "{A5API='Access', A5Syntax='Access', FileName='C:\Databases\Northwind\Northwind.mdb', UserName='George', Password='alphabeta'}"

See Also

SQL Helper Functions

Supported By

Alpha Five Version 8 Enterprise Edition

Limitations

Desktop applications only.