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


DESCRIPTION:
Retrieve a record from remote database.

ClassCLASS: 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* phBuffA pointer to a record handler to hold the result.
CTag TagA tag containing information about record to read.
int TypeThe required record type.
int IDThe required record id.
LPCSTR StringA keyword to search the record.
int TextGrpIDThe text group id to search to.
int TextIDThe text id to search to.
int ListTypeA list type describes a record list containing the involved records. If the value is 0, then no list will be used.
int ListIDA 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:
Untitled Document
SearchSearch: