Solved

Cut and pasting in a DBGrid

Posted on 1997-10-15
3
248 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Correct Component for Shopping Cart. 2 136
JAudiorecorder record freezing the app 29 93
DBGrid or StringGrid ? 6 138
RESTRequest Parameter 4 86
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

710 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