Database.ADO.connect() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Database.ADO Class Summary

Availability
Windows

Usage
mdm.Database.ADO.connect(adoString:String):Void

Parameters
adoString:String - ADO connection string

Returns
Nothing

Description
Establishes a connection with the specified database.

Notes
None

Example Code
//Simple Usage:
var adoString:String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=d:\\dbtutor.mdb";
mdm.Database.ADO.connect(adoString);

//Advanced ADO String Usage:
var adoString:String = 'Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data Source=mydb.mdb;Mode=Share Deny Write;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database Password="mypassword";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False';
mdm.Database.ADO.connect(adoString);

mdm.Database.ADO Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page