Link to home
Start Free TrialLog in
Avatar of maran_software
maran_software

asked on

Copy / Paste to /from a datawindow

Hi

I have some functionality I'm trying to get to work. I allow a user to copy rows from a datawindow into the clipboard. Behind the scenes I copy the selected rows to a datastore.

The problem is if they then paste the values into Excel , change some values and try to paste the rows back into the visible datawindow, there is no change. Behind the scenes I try to do a Paste() into the datastore then row by row put them back into the visible datawindow but nothing seems to happen. The datawindow object is external.

any ideas would be appreciated.

cheers
ASKER CERTIFIED SOLUTION
Avatar of Vikas_Dixit
Vikas_Dixit
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of namasi_navaretnam
Yes. You need to debug further. Check the retrun codes from ImportString, ImportClipboard functions. The data needs to be tab-delimited. Also post your code.
Avatar of maran_software
maran_software

ASKER

Thanks your suggestion worked well! Thanks again.