Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_ClipText to Array and/or Cusor
Message
From
16/10/2006 14:03:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
01162254
Message ID:
01162282
Views:
17
>>Has anyone seen or written a procedure that allows you to convert data stored in _ClipText to an Array and/or Cursor?
>>
>>Thanks,
>>Robert Wright
>
>What kind of data it is? You can use ALINES function or append command.

If you are trying to copy a table to the clipboard, then use CURSORTOXML() and XMLTOCURSOR() to save/restore to the clipboard:
*-*  To save a table to clipboard
SELECT mytable
=CURSORTOXML("mytable",lcXML,0)
_CLIPTEXT = lcXML

...
...
...
*-*  To restore a table from clipboard
lcXML = _CLIPTEXT
SELECT 0
=XMLTOCURSOR(lcXML)
SELECT XMLRESULT
COPY TO mycopytable.dbf
USE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform