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


DESCRIPTION:
Skip the record position in remote database.

ClassCLASS: CFBSocket

PROTOTYPE(S):
int Skip(int RecType, int CurrRecID, int* pRecPos, int* pRecCount, int ChangeType);


ARGUMENT(S):
int RecTypeCurrent record type.
int CurrRecIDCurrent record id.
int *pRecPosA pointer to current record position. The content of this parameter may altered as a result to the process.
int* pRecCountA pointer to an integer number to hold the latest records count in file.
int ChangeTypePointer movement type. The valid value is one of CRP_STAY, CRP_PREV, CRP_NEXT, CRP_FIST of CRP_LAST.


RETURN VALUE:
This function returns current record id. In case of error, ti returns 0.

EXAMPLE:




COMMENT:
Actually there is no record pointer in FlitBase file. Skip is a way to simulate record position movement by supplying the current record information to get the current position. The returns record position normally used as an indicator rather than a reference to the record since it may altered without alert in most condition.
Untitled Document
SearchSearch: