104 | Chapter 7 DWG API Additions
For more information about using secondary tables as the source for SQL
WHERE clauses, see Step 9 under “Accessing Data Using a Link Template” on
page 20.
Parameters
none
Return Values
integer (read/write) – Value indicating the source for SQL WHERE clause.
0 – Indicates Autodesk DWG files as the source for the SQL WHERE clause.
1 – Indicates secondary tables as the source for the SQL WHERE clause.
Error Codes
-1 (Busy) – This error code is for the write operation.
-15 (DoesNotApply)
See Also
getWhereSource, setWhereSource
getSQLWhereClause Method
Syntax
String getSQLWhereClause()
Gets the SQL WHERE clause for layers that are created from DWG data. This
property gets the SQL WHERE clause only for polyline, polygon, and point
layers created from DWG data. It does not get the SQL WHERE clause for
Autodesk DWG layers.
SQL WHERE clauses can be applied only to secondary tables.
For more information about using secondary tables as the source for SQL
WHERE clauses, see Step 9 under “Accessing Data Using a Link Template” on
page 20.