Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cut and pasting in a DBGrid

Posted on 1997-10-15
3
Medium Priority
?
254 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 100 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

705 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