PROPERTY:  Command::Name

commandobject.Name = string
string = commandobject.Name

 
The Name property sets or returns a string that is the name of the Command object. You can use the name to uniquely identify individual Command objects. The value must be set before you call the ActiveConnection property.
 
The Name property is also used by the Field, Parameter, and Property objects.
 
The name can also be obtained from the Properties Collection.
 
Code (VBScript):
objConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=ADOData.mdb"
objCommand.Name = "GuruProcedure"
Set objCommand.ActiveConnection = objConnection

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information