Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with COPY TO
Message
From
04/06/2019 15:54:14
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01668893
Message ID:
01668919
Views:
61
>>COPY TO (m.lcPartName) XLS FIELDS &fld_list NEXT 65534
>>What could cause this?
>>BTW She tries to save the file on the Desktop

Weird error.

1) UAC, Virus scanner or anything else checking for desktop changes?

2) What are the values of lcpartname and fld_list?

3) Left field: In Windows 10 there is a definite issue that sometimes creating, copying or deleting files will fail first time or even second time, but succeed immediately after. I suspect the cause is to do with clever caching or similar. This is one of the VFPA fixes- when creating copying or deleting, it will attempt 5 times before admitting defeat. Have not checked whether this includes copy to.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Reply
Map
View

Click here to load this message in the networking platform