Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timing Issue When Copy Files to Another Directory
Message
De
22/09/2004 20:28:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00945135
Message ID:
00945237
Vues:
29
SNIP
>
>Is there any reason the FileToStr()'s couln't be wrapped in an FLock() - at the moment I rely on a SQL Select relying on a DateTime stamp to pull out Updated / Inserted rows. This is very quick and I'm not sure it's worth investigating the FileToStr() alternative.

Just FYI, Houston... I've found that a STRTOFILE() is about the only guaranteed way to get an UNfragmented .FPT.
That is to say, a FPT that is the result of a COPY... or a PACK MEMO remains a fragmented file but a .FPT that is STRTOFILE()ed will have only a few fragments dependent on the RAM cache available and the size of the FPT itself.

For what it's worth...

cheers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform