Accessing a database from a COM component

To take advantage of COM+ support for transaction management, you need to use one of the database interfaces supported by COM+ to connect to your database. For more information about database connections for components developed in PowerBuilder, see Connecting to Your Database.

COM components developed in PowerBuilder can use DataStores to interact with the database. DataStores are nonvisual DataWindow controls that act just like DataWindow controls except that they do not have visual attributes. They can be useful in a distributed application: they give you the ability to perform database processing on a remote server instead of on each client computer.

For more information about using DataStores for database access in a transaction server environment, see “Using DataStores”.