Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid to Clipboard
Message
From
02/07/2003 11:44:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00806113
Message ID:
00806142
Views:
38
>I'd like to copy the full content of a any given grid to clipboard. DataToClip is too weak for that, because the grid can show data from several tables, not always only fields, but also the results of some functions and so on.
>
>Has anyone already done it?
>
>Thanks in advance

set fields global
set fields to fieldsuseduingridincludingcalculated
copy to myTemp.txt type delimited with tab
_cliptext = FileToStr('myTemp.txt')
erase myTemp.txt
set fields to

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform