2004
Table Of Contents
- Contents
- Chapter 1 - Find the Information You Need
- Part 1 - The User Interface
- Part 2 - Start, Organize, and Save a Drawing
- Part 3 - Control the Drawing Views
- Part 4 - Create and Modify Objects
- Chapter 14 - Control the Properties of Objects
- Chapter 15 - Use Precision Tools
- Chapter 16 - Draw Geometric Objects
- Chapter 17 - Change Existing Objects
- Part 5 - Hatches, Notes, and Dimensions
- Chapter 18 - Hatches, Fills, and Wipeouts
- Chapter 19 - Notes and Labels
- Chapter 20 - Dimensions and Tolerances
- Part 6 - Create Layouts and Plot Drawings
- Chapter 21 - Create Layouts
- Chapter 22 - Plot Drawings
- Part 7 - Share Data Between Drawings and Applications
- Chapter 23 - Reference Other Drawing Files (Xrefs)
- Chapter 24 - Link and Embed Data (OLE)
- Chapter 25 - Work with Data in Other Formats
- Chapter 26 - Access External Databases
- Overview of Using AutoCAD with External Databases
- Access a Database from Within AutoCAD
- Link Database Records to Graphical Objects
- Use Labels to Display Database Information in the Drawing
- Use Queries to Filter Database Information
- Share Link and Label Templates and Queries with Other Users
- Work with Links in Files from Earlier Releases
- Part 8 - Work with Other People and Organizations
- Chapter 27 - Protect and Sign Drawings
- Chapter 28 - Use the Internet to Share Drawings
- Chapter 29 - Insert and View Markups
- Chapter 30 - Publish Drawing Sets
- Part 9 - Create Realistic Images and Graphics
- Glossary
- Index
Access a Database from Within AutoCAD | 731
The tree view of the dbConnect Manager contains the following nodes:
■ Drawing Nodes. Display each open drawing. Each drawing's node shows
all database objects that are associated with the drawing.
■ Data Sources Node. Displays all configured data sources on your system.
All of the various nodes and database objects in the dbConnect Manager have
shortcut menu options associated with them. For example, you can use short-
cut menu options to configure a data source or edit a stored query.
To open and close the dbConnect Manager
■ From the Tools menu, choose dbConnect.
Command line
DBCONNECT
To update the jet_dbsamples.udl configuration file with new information
1 From the Tools menu, choose dbConnect.
2 In the dbConnect Manager, in the tree view, right-click Data Sources, and
then click Configure Data Source.
3 From the Configure a Data Source dialog box, select Jet_dbsamples from
the Data Sources list, and then choose OK.
4 On the Connection tab of the Data Link Properties dialog box, choose the
[...] button.
5 In the Select Access Database dialog box, navigate to and select the
db_samples.mdb file, and then choose Open.
This file is located in the AutoCAD Sample folder.
6 Choose Test Connection to verify that your connection is working
properly.
7 If the connection fails, verify that you selected the appropriate file.
8 Choose OK to exit each dialog box.
View Data in a Database Table
Once you have configured a data source, you can access its tables from within
AutoCAD. The Data View is a window where you can view and edit database
records. You can open tables in Read-only mode or in Edit mode. You cannot
add, delete, or edit records in a table that you open in Read-only mode.
Opening a table establishes a connection to its parent database. Some database
systems require that you enter a valid user name and password before you
can connect to them.