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
Use Queries to Filter Database Information | 755
The Quick Query Tab
The Quick Query tab is designed to familiarize you with query syntax as
quickly as possible. Constructing a quick query involves selecting a field from
the current database table, applying a conditional operator to it, and specifying
a value for the field. Conditional operators are constraints such as equal,
greater than, or less than. The following table summarizes the Quick Query
tab’s operators.
AutoCAD query operators
Operator Description
Equal (=) Returns all records that exactly match the value that you specify.
Not equal (<>) Returns all records except those matching the value that you specify.
Greater than (>) Returns all records that exceed the value that you specify.
Less than (<) Returns all records with values that are less than the value that you specify.
Greater than or
equal (>=)
Returns all records that exceed or equal the value that you specify.
Less than or
equal (<=)
Returns all records that are less than or equal to the value that you specify.
Like Returns all records that contain the value that you specify. Using the like
operator, you can specify the optional % wild-card character. If, for example,
you want to return all records that end with the string "ert", you enter the
value %ert. If you want to return all records that begin with the string "ert",
you enter the value ert%. If you don’t specify the % wild-card character,
AutoCAD searches for the exact value that you specify.
In Returns all records that match a set of values that you specify. If, for example,
you are searching for an employee record but are not sure if the name is
spelled Smith or Smythe, you could issue the in operator and provide both
spelling values to return all records spelled either Smith or Smythe. The two
values must be separated by a comma.
Is null Returns all records that do not have values specified for the field that you’re
querying. This operator is useful for locating records in your table that are
missing data.
Is not null Returns all records that have values specified for the field that you’re
querying. This operator is useful for excluding from your query records in
your table that are missing data.