xml spy
Previous  Top  Next

Databases


In the Global Resource dialog for Databases (screenshot below), you can add a database resource as follows:

 

DlgAltovaResourceDB

 

1.Enter an alias name.
2.The Configurations pane will have a configuration named Default (screenshot above). This Default configuration cannot be deleted nor have its name changed. You can enter as many additional configurations for the selected alias as you like. Add a configuration by clicking the Add Configuration icon ic_AddConfiguration and, in the Add Configuration dialog which pops up, enter the configuration name. Click OK. The new configuration will be listed in the Configurations pane. Repeat for as many configurations as required for this particular alias (global resource).
3.Select one of the configurations in the Configurations pane and click the Choose Database icon. This pops up the Create Global Resources Connection dialog (screenshot below).

 

DlgAltovaResourceDBConnect

 

4.Select whether you wish to create a connection to the database using the Connection Wizard, an existing connection, an ADO Connection, or an ODBC Connection. Complete the definition of the connection method as described in the section, Connecting to a Database. You can use either the Connection Wizard, ADO Connections, or ODBC Connections. If a connection has already been made to a database from StyleVision, you can click the Existing Connections icon and select the DB from the list of connections that is displayed. If you connect to a database server, you will be prompted to select a DB Root Object on the server. The Root Object you select will be the Root Object that is loaded when this configuration is used. If you choose not to select a Root Object, then you can select the Root Object at the time the global resource is loaded.
5.Specify a database resource for each configuration (that is, repeat Steps 3 and 4 above for the various configurations you have created).
6.Click OK in the Global Resource dialog to save the alias and all its configurations as a global resource. The global resource will be listed under databases in the Global Resources dialog.

 

 


See also:

 

 


 

 


Previous  Top  Next

© 2008 Altova