Search
DESCRIPTION: Search for the records that matched the given keyword. |
CLASS: CFBSocket
PROTOTYPE(S):CRecordList* Search(CRecordHnd *phBuff, LPCSTR String, int *pIndexType, int IndexTypeCount, int TextGrp, int TextID, bool Exact = true, bool CreateIndex = true); | CRecordList* Search(CRecordHnd* hBuff, LPCSTR String, int *pIndexType, int IndexTypeCount, int *pTextGrp, int TextGrpCount, int *pTextID, int TextIDCount, bool Exact=true, bool CreateIndex = true); |
ARGUMENT(S):CRecordHnd* phBuff | A pointer to a record handler to hold the result. | LPCSTR String | The search keyword. | int* pIndexType | A pointer to an array containing record types. | int IndexTypeCount | The number of types in array. | int TextGrp | The text group id to search for. | int TextID | The text id to search for. | int *pTextGrp | A pointer to an array containing text group ids. | int TextGrpCount | The number of the text group ids in array. | int* pTextID | A pointer to an array containing text ids. | int TextIDCount | The number of the text ids in array. | bool Exact | Search exact flag. If the value is true, the system will used exactly comparison while seraching for records. | bool CreateIndex | Index creation flag. The function will forced to create the index list if the existance not found. |
RETURN VALUE: This function returns a pointer to a record list containing tags to all found records. In case of error, this function returns a null pointer.
EXAMPLE:
COMMENT:
|
|