Skip
DESCRIPTION: Skip the record position in remote database. |
CLASS: CFBSocket
PROTOTYPE(S):int Skip(int RecType, int CurrRecID, int* pRecPos, int* pRecCount, int ChangeType); |
ARGUMENT(S):int RecType | Current record type. | int CurrRecID | Current record id. | int *pRecPos | A pointer to current record position. The content of this parameter may altered as a result to the process. | int* pRecCount | A pointer to an integer number to hold the latest records count in file. | int ChangeType | Pointer 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. |
|