Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtofile inconsistent
Message
From
24/02/2008 09:11:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01295630
Message ID:
01295841
Views:
18
>?????????????????????
>
>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?
>

Just tried this with VFP SP2. I created this program and built it into an EXE:

cString = "something"
nResult = STRTOFILE(cString, "Pay.CSV")

FOR n=1 TO 10
nResult = STRTOFILE(cString, "Pay.CSV", 1)
WAIT WINDOW "Pass " + TRANSFORM(n) + ":" + TRANSFORM(nResult)
ENDFOR

Worked exactly as expected.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform