Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILE SIZE and COPY FILE 2 DISK
Message
De
18/02/1997 18:47:52
 
 
À
18/02/1997 04:52:27
Ralf Zimmer
N:media Datapoolsystems Gmbh
Duesseldorf, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00020863
Message ID:
00020978
Vues:
38
>How can I find out about the total size of a table (.dbf and .fpt)? I've tried it with the fsize() function, but this givs me only the size of the dbf file. Whats about the fpt file?
>Or, perhaps somebody has already a function which copies files to a disk and will give it to me.

FSIZE() returns the size of a file only if SET COMPATIBLE is ON. And it works fine for any file. Try:

set comp on
?fsize("dbfname.dbf")
?fsize("dbfname.fpt")
set comp off

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform