Solved

Cut and pasting in a DBGrid

Posted on 1997-10-15
3
246 Views
Last Modified: 2010-04-04
I would like to be able to cut/copy  data in a DBGrid, and then paste the data into another DBGrid.
0
Comment
Question by:dl090597
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Zonnald earned 50 total points
ID: 1347641
This may sound over simple but Have you tried using the right mouse button - it normally gives you built in options for the Cell.  If you want to cut and paste a row then you can use a double-click event and code to get the row from table A and then put the row in table B using Insert?
0
 

Author Comment

by:dl090597
ID: 1347642
Can you provide me with code to copy a value from a DBGrid to the clip board
0
 
LVL 1

Expert Comment

by:Zonnald
ID: 1347643
dl,

I will give it a go - back soon.

Zonnald
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question