Re: Copy Paste From Grid

2011-10-21 Thread Rafael Copquin
Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Rafael Copquin Sent: Thursday, October 20, 2011 5:27 PM To: profoxt...@leafe.com Subject: Re: Copy Paste From Grid Someone suggested to add a logical field to your cursor, a checkbox inside

RE: Copy Paste From Grid

2011-10-21 Thread Richard Kaye
No apologies needed! I'm used to being ignored... Very Big Grin -- rk -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Rafael Copquin Sent: Friday, October 21, 2011 11:19 AM To: profoxt...@leafe.com Subject: Re: Copy Paste From

RE: Copy Paste From Grid

2011-10-20 Thread Richard Kaye
Add a logical column to the underlying grid datasource, show that column in the grid bound to a checkbox and then filter on that for output purposes? Maybe something like: Select desired columns from data where checked into cursor temp _vfp.DataToClip() Check the options on DataToClip. For

Re: Copy Paste From Grid

2011-10-20 Thread Sytze de Boer
I have a routine that will copy x number of records to the clipboard (using _vfp.datatoclip) other stuff scan while recno()=copyrec+numtoclip mynumber=recno() scatt memvar sele 1250 appe blank gather memvar repla recordnumb with mynumber sele

Re: Copy Paste From Grid

2011-10-20 Thread Jeff Johnson
On 10/20/2011 01:42 PM, Sytze de Boer wrote: I have a routine that will copy x number of records to the clipboard (using _vfp.datatoclip) other stuff scan while recno()=copyrec+numtoclip mynumber=recno() scatt memvar sele 1250 appe blank gather

Re: Copy Paste From Grid

2011-10-20 Thread Rafael Copquin
How would you know if a row is selected? Someone suggested to add a logical field to your cursor, a checkbox inside a column on the grid and then you select different rows by clicking in the checkbox. This will cause your underlying cursor to have the logical field marked as true. Then

RE: Copy Paste From Grid

2011-10-20 Thread Richard Kaye
Paste From Grid Someone suggested to add a logical field to your cursor, a checkbox inside a column on the grid and then you select different rows by clicking in the checkbox. This will cause your underlying cursor to have the logical field marked as true. Then you: select myCursor scan

Re: Copy Paste From Grid

2011-10-20 Thread Jeff Johnson
That sounds like a good solution. Thanks, Jeff --- Jeff Johnson j...@san-dc.com (623) 582-0323 www.san-dc.com On 10/20/2011 02:26 PM, Rafael Copquin wrote: How would you know if a row is selected? Someone suggested to add a logical field to your cursor, a checkbox