2004

Table Of Contents
762 | Chapter 26 Access External Databases
4 If you want to save the query in the current drawing for future use, choose
Store.
5 Choose Execute to execute the query and close the dialog box.
Combine Queries
Link Select is an advanced implementation of the Query Editor that con-
structs iterative selection sets of AutoCAD graphical objects and database
records.
Link Select creates an ongoing selection set that you refine with additional
information through a running iterative process. You begin either by
constructing a query or by selecting AutoCAD graphical objects. This initial
selection set is referred to as set A. You can now select additional graphical
objects or issue a query to further refine your selection set. This second selec-
tion set is referred to as set B. You must establish a relationship between set
A and set B to further refine the selection set. The following relationships or
set operations are available:
Select. Creates an initial query or selection set. This selection set can be
refined through subsequent Link Select operations.
Union. Adds the results of the new query or selection set to the running
selection set. This operation returns all records or objects that are
members of set A or set B.
Intersect. Returns the intersection of the existing running selection and
the results of the new query or drawing selection. This operation returns
all records or objects that are members of set A and set B.
Subtract A - B. Subtracts the results of the new query or drawing selection
from the existing running selection.
Subtract B - A. Subtracts the existing running selection from the results of
the new query or drawing selection.
After you apply one of the set operations, the returned results become the
new running selection and are assigned to set A. You can continue the itera-
tive process by creating additional B sets to further refine your Link Select set.
To use Link Select
1 In the dbConnect Manager, in the tree view, right-click a link template.
2 On the shortcut menu, click Link Select.