Skip to content

(Available in Pro Platinum)

Default UI Menu: Tools/Palette/Database Connect

Ribbon UI Menu:

TurboCAD has the ability to connect to a database and associate the data with objects. Database connectivity and management is handled through the Database Connection Palette.

img

To Create a Database Connection:

  1. Open the Database Connection Palette.

  2. Right click on the DataSources icon and click Add DataSource.

img

  1. In the Add Datasource dialog type in the name of the new datasource and click OK.

img

  1. The Data Link Properties dialog will open.

  2. On the Provider page select the appropriate OLE DB Provider type for the datasource to which you wish to connect. Then click Next.

img

  1. The Connection page will appear.

img

  1. Specify the database source. or

  2. Use connection String

​ 1. Click Build

img

​ 2. Select a File Data Source or Machine Data Source

img

img

​ 3. Set login info if needed, then press OK.

img

​ 4. Select the Database.

img

  1. Setup the Server login information.

  2. Click the Test Connection button. If the connection is valid the Test Connection Succeeded message will appear.

img

  1. At this point you can move on to the Advanced and All pages, or click OK.

  2. The features and functions of the Advanced and All pages are network and database specific, and are dependent upon your network and OBDC/OLE DB protocols. Only a person and experienced with your network and database protocols should alter these settings.

img

img

  1. After these operations you will see a new datasource object in DataSources tree.

img

  1. The datasource is not yet connected. Right-click on the datasource and select Connect.

img

  1. Your database is now connected to TurboCAD as a datasource.

  2. When connected a datasource shows all available tables and views in database.

To Disconnect a Datasource:

  1. Select a connected datasource in the DataSources tree.

  2. Right-click on the datasource and select Disconnect.

img

To Re-configure a Datasource:

  1. Select a datasource in the DataSources tree.

  2. Right-click on the datasource and select Configure. This will open the Data Link Properties dialog.

img

  1. Make the required changes and click OK.

To Remove a Datasource:

  1. Select a datasource in the DataSources tree.

  2. Right-click on the datasource and select Remove DataSource.

img

  1. You will be prompted with a warning dialog.

  2. If you are clear to proceed click Yes.

img

To Export a Datasource:

  1. Select a datasource in the DataSources tree.

  2. Right-click on the datasource and select Export DataSource.

img

  1. This will open Save As dialog.

img

  1. Select a location and name for the datasource, and then click Save.

To Import a Datasource:

  1. Right click on the DataSources icon and click Import DataSource.

img

  1. This will start the Open dialog.

img

Note: Connect is only available when a datasource is disconnected. Disconnect is only available when a datasource is connected.