Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtofile inconsistent
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01295630
Message ID:
01295672
Views:
16
?????????????????????

I have isolated down to the fact that if the file name used has the word 'PAY.CSV' in it, the file can not be appended to when run in an EXE, however, in development mode there is no problem.

Can anyone else verify?




>I have been beating my head against the wall trying to solve this but no luck so far.
>
>Basically I am collecting information that I need to append to a file with the following
>
>
lnNumberBytes = Strtofile(clString,lcFilename, .t.)
>
>This works fine when in development, however, when I am running the exe, the number of bytes returned is 0. The first time the lcFileName is created, it save, but when appending it will not.
>
>I tried passing a 1 but still the same results.
>
>
lnNumberBytes = Strtofile(clString,lcFilename, 1)
>
>
>Any suggestions would be greatly appreciated.
>
>Thanks in advance
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform