Page 1 of 1
How to copy record from TMyQuery to Clipboard
Posted: Fri 10 Feb 2006 09:59
by Hans
Hi,
Does somebody know how to copy a record from TMyQuery to the clipboard?
best regards,
Hans
Posted: Fri 10 Feb 2006 10:32
by swierzbicki
is there any special reason for this ?
you might use MySQL user variables or use temporary tables ?
Posted: Fri 10 Feb 2006 10:49
by Hans
Wel, I try to think of a way to copy/paste a record from a dbgrid. My approach was to copy the selected record to the clipboard and then paste it into the grid as a new record.
best regards,
Hans
Posted: Fri 10 Feb 2006 14:09
by Ikar
MyDAC doesn't provide such functionality. You should get data from MyQuery.Fields.Fields[], and manually put it into the clipboard.