
136 CHAPTER 4
AddOrderByProperty
'Create the search object.
Dim pSearch As New
PCDSearch
'Set the document security token (DST).
pSearch.
SetDST strDST
'Add a search Library to search.
pSearch.
AddSearchLib "LegalLaw"
'Set which form to use for the search.
pSearch.
SetSearchObject "def_qbe"
'Add properties you want the search to return.
pSearch.
AddReturnProperty "docname"
pSearch.
AddReturnProperty "docnum"
pSearch.AddReturnProperty "AUTHOR_ID"
'Sort the search results by AUTHOR_ID in
'ascending order.
pSearch.
AddOrderByProperty "AUTHOR_ID", TRUE
'Execute the Search.
pSearch.
Execute
.
.
.
Related Items
See the following objects:
PCDLookup
PCDRecentDoc
PCDSearch
See the following properties:
ErrDescription
ErrNumber
Comentarios a estos manuales