PRB: _VFP.DataToClip() Only Reads DataSession 1 (280309)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q280309 SYMPTOMS
The DataToClip() method is not able to access data in a private data session.
CAUSE
Because DataToClip is associated with the Application Object (_VFP), it only has access to the data in the Object's DataSession, which is DataSession 1.
RESOLUTION
One workaround is to write a routine that converts each field to character type (the Transform() function does this easily in Visual FoxPro 6.0), concatenates the information, and stores it to the _CLIPTEXT variable.
Modification Type: | Major | Last Reviewed: | 11/27/2000 |
---|
Keywords: | kbDSupport kbprb kbXBase KB280309 |
---|
|