Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to the twilight zone
Message
De
13/08/2001 09:06:11
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00542549
Message ID:
00542957
Vues:
14
>>COPY TO x for condition && we'll lock temp file and allow access to master
>>IF FILE(x) && a cursor can't be used in this situation
>> procedure(x)
>>ENDIF


>Why do you need to check file after its creation? What's the strange name x
>(is it for example sake or the real file name?)

>Don't forget to add DBF extension before checking for existance of the file
>(though I don't see, why you need to check for it).

X is a valid pathed file name with extension, I test for it in considerable detail not shown ( size not 0 , not locked, etc ) because the code is usually in a loop and sometimes the file name shows up with 0 size for a few seconds.

BUT last week there was no file name at all for several minutes! AND since rebooting no problems!

Weird

Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform