Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPD25 Urgent/HELP IF FILE() code broken
Message
 
To
04/12/2001 10:12:44
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00589278
Message ID:
00589658
Views:
27
I have checked the values, Renoir, with WAIT WINDOW and it is as it should be.

Later I put the directory in the Path and used just the file name and it did not work.

Just want to confirm, this I am running from an EXE. Isnt the EXE supposed to have the reference of the SPR file in it so that I can be run straight, also I believe the FILE() command works for files inside the EXE.


>>Please help Im desperate.
>>
>>I am posting this again under a different subject but this is crazy. It is an old code which is unchanged only thing I have changed is from w98 to w2k on my development machine and, the logic works on the w2k machine but has stopped working on other w98 machine.
>>
>>Dear All
>>
>>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, MMX machine. I tried relative path
>>as specified above as well as IF FILE(m.zscrname + ".spr"), IF FILE("..\sprs\"+ m.zscrname + ".spr"), with without UPPER() for the file string
>>
>>but none of them work on the W98 machine
>
>Bhavbhuti,
>
>What is the value of m.zscrname when it gets to that point in the code?
>
>Renoir
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform