SmartRecordRead
DESCRIPTION: Read a record with a smart decision from remote database. |
CLASS: CFBSocket
PROTOTYPE(S):CRecord* SmartRecordRead(CRecordHnd *phBuff, int Type, LPCSTR pArg); |
ARGUMENT(S):CRecordHnd* phBuff | A pointer to a record handler to hold the result. | int Type | The required record type. | LPCSTR pArg | The text argument containing information for record request. |
RETURN VALUE: This function returns pointer to the read record. In case of error this function returns a null pointer.
EXAMPLE:
COMMENT: This function read a record determined by the given type and argument. The function will try to convert the given argument into an id to find the record. If the record still not found, then the argument will be used as a search keyword. |
|