March 2018
Beginner to intermediate
514 pages
13h 11m
English
Finally, the most common scenario is the one where we fully manage the source by checking for new, modified, or deleted records.
The script will be the same as the one used in the insert and update scenario; however, we must add a join to the source to eliminate from our QVD those records that have been deleted after we saved the QVD file.
The following block of code inserts, updates, and deletes records from the source:
/* I treat my table keys as system fields by hiding them. We do not want to use the keys in the front end and therefore we shouldn't show them. */set HidePrefix='%' ;/* I check if the file exists. If it doesn't I do a full load, if it does I perform the incremental load. */IF IsNull(QvdCreateTime('C:\myQVD\Countries.qvd')) ...Read now
Unlock full access