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


DESCRIPTION:
Read a record with a smart decision from remote database.

ClassCLASS: CFBSocket

PROTOTYPE(S):
CRecord* SmartRecordRead(CRecordHnd *phBuff, int Type, LPCSTR pArg);


ARGUMENT(S):
CRecordHnd* phBuffA pointer to a record handler to hold the result.
int TypeThe required record type.
LPCSTR pArgThe 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.
Untitled Document
SearchSearch: