Visual InterDev
Creates a Data Environment automation server. Available only in server script.
Syntax
object.createDE()
Parameters
object
A PageObject script object.
Remarks
The Data Environment can be used as a wrapper around ActiveX® Data Objects (ADO) to access data. For more information about the Data Environment, see The Data Environment.
When the Data Environment is created it is named "DE," and can be used to reference command objects and connections that are contained within the Data Environment.
Example
Imagine you have created a command object that inserts first name and last name values into the Customers table via a stored procedure and that you called this command object InsertCustomer.
sub thisPage_onenter()
thisPage.createDE()
' at this point the DE is now in the namespace
' now invoke the command object
DE.InsertCustomer("FirstName","LastName")
end sub