Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with DataToClip Method
Message
 
To
31/05/2001 12:04:18
Richard Williams
State of Ohio, Dept. of Development
Columbus, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00513234
Message ID:
00513264
Views:
18
>I would like to copy some address fields, while in a FoxPro application, to my clipboard to paste on different applications. I believe the DATAtoCLIP Method is what I am looking for, however, I can't get the syntax down correctly and there are no examples in the FoxPro help for this. Can someone give me a boost? Thanks Rick

_vfp.datatoclip(,3)

will copy next 3 records into clipboard from the default table open. But it copies only full records, you cannot select just the certain fields. However you may select the desired fields first with the SELECT statement into cursor first and do DATATOCLIP from there.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform