Laurie: On Fri, Jul 17, 2015 at 5:50 AM, Laurie Alvey <[email protected]> wrote: > When I posted the CTOV function, you quite rightly pointed out that it > wouldn't solve the DataToClip problem. I meant to say the code should look > something like this: > SELECT something FROM somewhere INTO CURSOR somecursor > CTOV(somecursor) > _VFP.DataToClip(somecursor,3) >
when you run this code, do you see the result in the clipboard trimmed to the actual lengths of the strings? On my machine, the strings seem to be padded out with spaces to their VarChar length. Pasting them into LibreOffice Calc or editing them in VFP using: StrToFile(_cliptext,"output.txt") modi file output.txt seems to show the fields are still padded. -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cacw6n4vgmoobvnawot15m4_3zp72ui5rpyz7nvavk2ki4gf...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

