Specifications

Chapter 27312
Note: This example uses the MMDB.getColumnList() function.
function getDynamicBindings(elementNode)
{
var ss = findSSrec(elementNode, LABEL_Type)
var connString = ss.activeconnection
var connName = ss.connectionName
var statement = ss.source
var rsName = ss.rsName
var pa = new Array()
if (String(ss.ParamArray) != "undefined")
{
for (var i = 0; i < ss.ParamArray.length; i++)
{
pa[i] = new Array()
pa[i][0] = ss.ParamArray[i].name
pa[i][1] = ss.ParamArray[i].value
}
}
var statement = ReplaceParamsWithVals(statement, pa)
return MMDB.getColumnList(connName, statement)
}
Database connection functions
Database connection functions let you make and manage any connection, including the
Dreamweaver MX-provided ADO, ColdFusion, and JDBC connections. These functions
interface with the Connection Manager only; they do not access a database. For functions that
access a database, see Database access functions on page 324.
MMDB.deleteConnection()
Availability
Dreamweaver MX
Description
Deletes the named database connection.
Arguments
connName
connName is the name of the database connection as it is specified in the Connection Manager.
This argument identifies, by name, the database connection to delete.
Returns
Nothing.