25.7 Extra Steps

 < Day Day Up > 



25.6 The Final Word

The last thing you'll need to know about dbConnect is how to stop it. That is, how do I remove pid (and its associated templates) from the dbConnect Manager (how do I close the corridor)? First, remember two things.

  • The corridor doesn't exist within AutoCAD, so you won't close it from there.

  • All the strings you've run between AutoCAD objects and database records go through the corridor. They'll be lost when it disappears. (I advise you to export any templates or links that you may need later. Save the exported files in a safe place. If it becomes necessary to reopen the corridor, simply import the strings.)

Considering what it took to configure AutoCAD to use the database, you might expect a procedure to break that connection. It isn't, however, that complicated. To remove a dbConnect configuration, simply erase the associated .udl file found in the \AutoCAD 2004\Data Links\ folder. (That was sort of anticlimactic, wasn't it?)

Remove the ODBC data source setup by repeating Steps 1 through 4 of Exercise 25.2.1. Select the My_PID_Database data source you created earlier and pick the Remove button. It's just that simple.



 < Day Day Up > 



AutoCAD 2004. One Step at a Time
3D AutoCAD 2004/2005: One Step at a Time
ISBN: 0975261371
EAN: 2147483647
Year: 2003
Pages: 96

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net