Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
Connection Object
PROPERTY: Connection::DefaultDatabase
string =
connectionobject.
DefaultDatabase
connectionobject.
DefaultDatabase
= string
The
DefaultDatabase
property is used to set or return a string value that is the default database for a specific server-side connection. This property cannot be used with a client-side connection (Remote Data Service). Even if a default database is set, you may still open connections that access other databases.
This example opens the Chants table in the GuruDB database:
Code (VBScript):
objConnection.DefaultDatabase = "GuruDB"
...
objRecordset.Open "Chants", objConnection
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information