UltraLite Embedded SQL User's Guide
Embedded SQL Library Functions
void ULResetLastDownloadTime(
SQLCA * sqlca,
ul_publication_mask publication-mask );
This function can be used to repopulate values and return an application to a known clean state. It resets the last download time so that the application resynchronizes previously downloaded data.
sqlca A pointer to the SQLCA.
publication-mask A set of publications to check. A value of 0 corresponds to the entire database. The set is supplied as a mask. For example, the following mask corresponds to publications PUB1 and PUB2.:
UL_PUB_PUB1 | UL_PUB_PUB2
For more information on publication masks, see publication synchronization parameter.
The following function call resets the last download time for all tables:
ULResetLastDownloadTime( &sqlca, UL_SYNC_ALL );
ULGetLastDownloadTime function
Timestamp-based synchronization