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 | 733
Column formatting and table sorts in the Data View window are not stored.
This information is discarded when you open a new table or close the current
table. If you want to create and save a formatted report, you must copy the
contents of the Data View window to the Clipboard and paste it into an
external program such as Microsoft Excel. You can then use the external pro-
gram to apply and save the desired formatting. For details about creating a
template, refer to the documentation of the external program that you are
using to format the data.
Database Views and External Queries
Some database management systems support views. Views provide additional
ways to display data from a table. For example, you can use a view to display
a subset of the overall table. You can also use views to define relationships
between tables and create a new table that contains combined records from
the original tables.
Database systems that do not support views can produce similar results with
queries. Refer to your database system documentation for information about
creating and working with views and queries.
AutoCAD displays views and external queries in the Data Sources node of the
dbConnect Manager. External queries are queries created and stored outside of
AutoCAD but within an external database system. Using AutoCAD, you can
work with external queries and views as you would work with any other
table. You can view or edit them in the Data View window, construct queries
based on them, and create links and labels based on their records.
To open a table for viewing or editing
1 From the dbConnect menu, do one of the following:
■ Choose View Data ➤ View External Table to open a table in Read-only
mode.
■ Choose View Data ➤ Edit External Table to open a table in Edit mode.
If required by the database that you are connecting to, AutoCAD prompts
you to enter a valid user name and password.
2 In the Select Data Object dialog box, navigate to and select the table you
want to open, and then choose OK.
Note Some database systems require that you obtain access privileges before
you can view or edit database tables. Refer to the documentation for your
database system, or check with your database administrator.