Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy a file and then verify it.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00067207
Message ID:
00067211
Vues:
22
>Does anyone know if a file can be copied, say to a floppy disk, and then verified from with FoxPro? Would like to avoid shelling to DOS.
>
>Thanks
>Kathy VanAlstyne

You can do an ADIR() on the original file and on the copied file to compare the filesize, etc. Are you using COPY FILE or COPY TO to copy a table. Date/Time stamps probably will not be the same with COPY TO for a table. For tables, you could also count the number of records. Be leary of Reccount() based on status of SET DELETED. COPY TO with SET DELETED ON will not copy deleted records, so RECCOUNT() could be different.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform