ReadRecord
DESCRIPTION: Retrieve a record from remote database. |
CLASS: CFBSocket
PROTOTYPE(S):CRecord* ReadRecord(CRecordHnd* phBuff, CTag Tag); | CRecord* ReadRecord(CRecordHnd* phBuff, int Type, int ID); | CRecord* ReadRecord(CRecordHnd* phBuff, int Type, LPCSTR String, int TextGrpID, int TextID, int ListType = 0, int ListID = 0); |
ARGUMENT(S):CRecordHnd* phBuff | A pointer to a record handler to hold the result. | CTag Tag | A tag containing information about record to read. | int Type | The required record type. | int ID | The required record id. | LPCSTR String | A keyword to search the record. | int TextGrpID | The text group id to search to. | int TextID | The text id to search to. | int ListType | A list type describes a record list containing the involved records. If the value is 0, then no list will be used. | int ListID | A list id describes a record list containing the involved records. If the value is 0, then no list will be used. |
RETURN VALUE: This function returns pointer to the read record. In case of error this function returns a null pointer.
EXAMPLE:
COMMENT:
|
|