Active Query Builder 2 .NET Edition reference
DeleteUnusedObjects Property



Instructs Query Builder to automatically remove tables that has no fields used in expressions and are no longer required to link tables in the query.
Syntax
'Declaration
 
Public Property DeleteUnusedObjects As System.Boolean
'Usage
 
Dim instance As BehaviorOptions
Dim value As System.Boolean
 
instance.DeleteUnusedObjects = value
 
value = instance.DeleteUnusedObjects
public System.bool DeleteUnusedObjects {get; set;}
public: __property System.bool get_DeleteUnusedObjects();
public: __property void set_DeleteUnusedObjects( 
   System.bool value
);
Remarks

For example, havnig three tables in the database linked with each other (Orders -> [Order Details] <- Products), the [Order Details] table with no fields selected will be removed automatically after the user removes the Orders or the Products table from the query.

Setting this property to true is necessary to work when Design Pane is hidden.

See Also

Reference

BehaviorOptions Class
BehaviorOptions Members
AddLinkedObjects Property
DesignPaneVisible Property
ShowFields Property

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback