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


DESCRIPTION:
Save a card record into the remote database.

ClassCLASS: CFBSocket

PROTOTYPE(S):
bool SaveCard(CCard *pCard, int LastCatType = 0, int LastCatID = 0, bool AlwaysAtTheEnd = false, CTag* pItemData = NULL, int ItemSize = sizeof(CTag));


ARGUMENT(S):
CCard* pCardA pointer to the card record to be saved.
int LastCatTypeLast category or base record type.
int LastCatIDLast category or base record id.
CTag* pItemDataA pointer to item data if it is different than the given card tag.
int ItemSizeThe size of the given item. The default value is the size of CTag.


RETURN VALUE:
This function always returns true.

EXAMPLE:




COMMENT:
Use this function to save (search and replace) a card record. If the identical card was not found, then the given card will be added to the file. Compared to WriteRecord function, this function will manage the knick-knack works in order to perfectly save the card.

SEE ALSO:
ClassMethodWriteRecord
Untitled Document
SearchSearch: