Xbasic

A5_MDBConString Function

Syntax

Connection_String as C = a5_MDBConString(C mdbfilename )

Arguments

Connection_String

The connection string used to access a specific Microsoft Access database.

mdbfilename

The full path and name of a Microsoft Access.MDB file.

Description

The A5_MDBConString() function returns the ADO connection string used to access a specific Microsoft Access database.

Example 

? A5_MDBConString("C:\Program Files\A5V7\MDBFiles\Alphasports.mdb")
= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\A5V7\MDBFiles\Alphasports.mdb;Persist"

See Also