>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