Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Occasional errors with DataToClip
Message
From
08/07/2009 07:24:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01410680
Message ID:
01410838
Views:
36
Thank you very much, I will try your code today.

>Hi Jim,
>
>_VFP.DataToClip only works reliable on the default datasession. Make sure that the code is actually executed there and no grid or any other control refresh themselves while VFP is copying data to the clipboard. You might try changing AutoYield. Because of its limitations I've replaced DataToClip in my code with a simple scan loop that creates a tab delimited string and use _CLIPTEXT to push it into the clipboard. Excel doesn't care if was one way or the other.
Jim Nelson
Newbury Park, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform