For Programmers: Free Programming Magazines  


Home > Archive > Clipper > October 2005 > simulate copy and paste in Tbrowse









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author simulate copy and paste in Tbrowse
ehabaziz2001@gmail.com

2005-10-01, 7:55 am

How can I simulate the copy and paste of certain records and Tbrowse
class .
How can I cursor position keeps the record pointer to sace recno() and
go to the value and transfer value into the new appended record .

Stephen Quinn

2005-10-01, 6:55 pm

ehab

> How can I simulate the copy and paste of certain records and Tbrowse
> class .

If you want to simulate it - just imagine it happening<g>

If you want to actually copy records then the following should point you in the
right direction.
Grumpfish library (on the OASIS)
- use a function called photocopy() or it may be fotocopy()

> How can I cursor position keeps the record pointer to sace recno() and
> go to the value and transfer value into the new appended record .

One way is to use an array
Eg
Save RecordNo
Fill array with data from current record
append new record
Write data from the array into the new record
Move back to the previous record

HTH
Steve

<ehabaziz2001@gmail.com> wrote in message
news:1128162945.889360.40210@g43g2000cwa.googlegroups.com...
> How can I simulate the copy and paste of certain records and Tbrowse
> class .
> How can I cursor position keeps the record pointer to sace recno() and
> go to the value and transfer value into the new appended record .
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com