Solved

Cut and pasting in a DBGrid

Posted on 1997-10-15
3
252 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses
Course of the Month7 days, 6 hours left to enroll

622 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