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
758 | Chapter 26 Access External Databases
5 Enter a value in Through, or choose Look Up Values (Through).
The query searches for all values less than or equal to the value that you
specify.
6 If you want to save the query in the current drawing for future use, choose
Store.
7 Choose Execute to execute the query and close the dialog box.
Use the Query Builder
The Query Builder tab is the primary AutoCAD query environment. Unlike
the Quick Query and Range Query tabs, the Query Builder can be used to
create queries based on multiple criteria. You can also parenthetically group
criteria and specify what fields are displayed and how they are sorted when
the query is returned in the Data View window.
The Query Builder tab introduces Boolean operators and parenthetical group-
ing, which are used to create compound queries based on two or more search
criteria. For example, using Boolean operators, you can generate a query that
returns a list of all light fixtures of a given type that were installed after a
specific date.
■ And Operator. Constructs a query based on multiple criteria, returning a
set of records that meet all specified criteria. For example, search for all
rooms that are offices and are currently unoccupied. The query returns
records for all rooms that are both offices and unoccupied.
■ Or Operator. Constructs a query based on multiple criteria, returning a set
of records that meet any of the specified criteria. For example, search for
all rooms that are offices or are currently unoccupied. The query returns
records for all rooms that are either offices or unoccupied.
■ Parenthetical Grouping. Groups a series of search criteria by bracketing
them within parentheses. For example, search for
(All rooms that are offices and are currently unoccupied)
or
(All rooms that are cubicles and are currently unoccupied)
This query returns a list of all unoccupied offices and cubicles.
You can nest up to four sets of parentheses within a statement.