Skip to content

AssembleConnectionString - cConnection

Helper function that assembles a complete ODBC Server String from components passed in

Type: Function
Return Data Type: String

Parameters

Parameter Type Description
sConnect String Server String
sUID String User ID
sPWD String Password
bTrusted Boolean Use Trusted Connection

Syntax

Function AssembleConnectionString String sConnect String sUID String sPWD Boolean bTrusted Returns String

Call Example

Get AssembleConnectionString sConnect sUID sPWD bTrusted to StringVariable

Description

AssembleConnectionString is a helper function that assembles a complete ODBC Server String from components passed in that contains all information required to identify and log in to a database server.

Return Value

ODBC Server String