Witch off these techniques are the best when the source dbf will always have less fields than the target, but the fields always match in name and structure.
We recommend FW_RecToHash() and FW_HashToRec().
This writes only common fields. The order of the fields is not important. It is the responsibility of the programmer to ensure compatibility of field types and sizes to avoid errors while writing.
There must and will be one index field for matching and updating.
The programmer has to locate the record containing the matching index and then lock the record before calling FW_HashToRec() for updating.
There will also be some replacement done (ex. a standard value that is needed) just before the update in the source dbf field.
After reading the data from the source dbf into the hash, the programmer can modify and field value in the hash before updating the destination dbf.