FindRecord
DESCRIPTION: Find a record according to the give parameters in current FlitBase file. |
CLASS: CFBSocket
PROTOTYPE(S):CTag FindRecord(LPCSTR String, int *pIndexType, int IndexTypeCount, int TextGrp, int TextID, bool CreateIndex = true); | CTag FindRecord(LPCSTR String, int *pIndexType, int IndexTypeCount, int *pTextGrp, int TextGrpCount, int *pTextID, int TextIDCount, bool CreateIndex = true); | int FindRecord(LPCSTR String, int Type, int TextGrpID, int TextID); | int FindRecord(int Type, int ID); |
ARGUMENT(S):LPCSTR String | The keyword to determined the required record. | int* pIndexType | A pointer to an array containing the record types. | int IndexTypeCount | The number of types in array. | int* pTextGrp | A pointer to an array containing the text groups id to be searched. | int TextGrpCount | The number of text group ids in array. | int* pTextID | A pointer to an array containing the text ids to be searched. | int TextIDCount | The number of ids in array. | int TextGrp | Text group id to search for. | int TextID | Text id to search for. | bool CreateIndex | Index creation flag. The function will forced to create the index list if the existance not found. | int Type | The record type to be find. | int ID | The record id to be find. |
RETURN VALUE: These function returns a tag containing the found record type and id or an integer containing id to the found record. If the requested record was not found, the function returns an empty tag or 0.
EXAMPLE:
COMMENT:
|
|