Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FPD25: IF FILE() will it work or not
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00589099
Message ID:
00589674
Vues:
12
Sorry to trouble all of you and Thanks all of you for your response. I think I'm going dumb but it is a long long story, it started when I wanted to create a Lib of repetitive codes... :-).

Ive got my self to blame when there was a simpler way to go about it
IF !EMPTY(m.zscrname)
...
Thanks for your response to my screams

>Check the file attributes. Maybe it's marked hidden or system?
>Try from command window with harcoded path ? FILE("x"\dir1\subdir\..\screen.spr")
>
>>
>>This is urgent and driving me crazy. The following code
>>
>>
>>	SELECT (m.zsavesele1)
>>
>>	SCAN FOR &ztransfld. = &zourfield.
>>		IF FILE("sprs\" + m.zscrname + ".spr")
>>			DO deleteothers IN (m.zscrname + ".spr")
>>		ENDIF
>>		
>>		
>>		SELECT (m.zsavesele1)
>>		
>>		DELETE
>>	ENDSCAN
>>
>>
>>
>>The IF FILE() works on a PIII 550 W2K Machine and fails
>>on a 486 12MB RAM W98 machine. I tried relative path
>>as specified above as well as IF FILE(m.zscrname + ".spr")
>>but none of them work on the W98 machine
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform