I understand you post this way:
You have one file, say items.dbf, with n records for example. This file is in USE.
Then you have another file, say temp.dbf, with m records. It has same structure as items.dbf. It is not opened (not in USE).
You want to add m records from temp.dbf to items.dbf, but at the beginning of items.dbf, and before adding you want to delete existing n records in items.dbf. The result you want is to have m records in items.dbf. You want to know number of records you added, and number of records you deleted.
Did I understand it right way ?
Also, is first file (items.dbf in example) opened exclusive or shared ? Is app multiuser ? Can you temporary open first file exclusive ? Some more information will be helpful.
Regards,
In this way you minimize number of deletions, but it requires recalling deleted records in DbfA that exists in first m positions in DbfA.
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/e4607fa0-9b9e-433c-9936-ea49a67f24a3n%40googlegroups.com.