pbUseServerOrdering - DataList_
Determines whether the control will use its Server DDO's Ordering or its own
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbUseServerOrdering
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbUseServerOrdering to BooleanVariable |
| Write Access: | Set pbUseServerOrdering to BooleanVariable/Value |
Description
If you set pbUseServerOrdering true then the dbGrid or dbList will use the DDO's ordering if: 1) there is a DDO (server) attached to the control, and 2) the DDO has an explicit ordering. Normally a DDO server does not set its own ordering.
One normally sets the ordering in a DDO when using constraints and want to make sure that all finds occur using an optimal index for that constraint. When a DDO has specified an ordering, it should be the one controlling the list order. This stops the list from attempting to reorder itself in ways that would generate non-optimal, slow searches.
By default this property is false and is set that way for compatibility reasons. In most cases, True would be the preferred setting.