NavigatorFind.2 |
Scroll |
Starts Thereforeā¢ Navigator if Navigator is not running; opens a query with the query values set with SetCtgryNo and SetField. The additional notify parameter is reserved for future use.
Namespace: Therefore.API
Visual Basic Public Overridable Function NavigatorFind (pIndexData As TheIndexData, _ nFlags As TheNavigatorFindFlags, _ nQueryNo As Integer, _ hwndNotify As Integer _ ) C# public virtual void NavigatorFind ( TheIndexData pIndexData, TheNavigatorFindFlags nFlags, int nQueryNo, int hwndNotify )
Parameters pIndexData TheIndexData containing at least a valid category number.
nFlags Flags for the search process
nQueryNo The number of the query to be opened. This allows you to open a certain predefined query (incl. FileBy, GroupBy functionality). The QueryNo can also specify a category-predominant query. In this case do not use SetCtgryNo. Use SetField to specify filter values for the fields in the query template. If QueryNo=0 Navigator will open the default query for the category (same as NavigatorFind).
hwndNotify Reserved for future use.
Return Value None. |
|
It is possible but not recommended to use this function to retrieve and display a document by specifying a query that will give a result set with one row and setting the nFlags to 4. If you are sure, that your query will result in exactly one row use the TheServer function DBQueryDoc to get the document number and display the document by calling Retrieve and View. This will result in better performance because the Navigator is not started and does not appear on the screen. Use NavigatorFind only if you want to activate Thereforeā¢ Navigator. (e.g.: display result set, ā¦) |