Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Part 2 Developing Applications by APIs> Chapter 11 Developing C Applications> 11.2 How to Use C APIs> 11.2.2 Data Searches

11.2.2.3 Obtaining Search Results while Adding Search Conditions

When a search produces a large number of hits, it is sometimes useful to be able to narrow down the scope of search by adding more search conditions.

In such cases, add conditions to the search expression specified as the argument of the ShunSearch function to create a new search expression, and run the search process again. By repeating this operation, the user can narrow the scope of the search while referring to the search results displayed on the screen.

The following diagram shows the process for obtaining search results while adding search conditions.

[Figure 11-6 Process for Obtaining Search Results While Adding Search Conditions]

mark1Sample Code

Sample code to obtain search results while adding search conditions is provided in 11.2.2.2 Obtaining Search Results with a Specified Number of Data Items.

Together with the search results, the ShunSearch function also returns a record ID (conductor control information and a reply record identifier) that uniquely identifies an XML document.
The record ID is used to extract, delete, and update the entire XML document that corresponds to it.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006