Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com
Untitled Document
SearchSearch:
ClassMethodFindRecord


DESCRIPTION:
Find a record according to the give parameters in current FlitBase file.

ClassCLASS: 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 StringThe keyword to determined the required record.
int* pIndexTypeA pointer to an array containing the record types.
int IndexTypeCountThe number of types in array.
int* pTextGrpA pointer to an array containing the text groups id to be searched.
int TextGrpCountThe number of text group ids in array.
int* pTextIDA pointer to an array containing the text ids to be searched.
int TextIDCountThe number of ids in array.
int TextGrpText group id to search for.
int TextIDText id to search for.
bool CreateIndexIndex creation flag. The function will forced to create the index list if the existance not found.
int TypeThe record type to be find.
int IDThe 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:
Untitled Document
SearchSearch: