Solved

Cut and pasting in a DBGrid

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now