Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to copy a Tquery's dataset?

Status
Not open for further replies.

LucieLastic

Programmer
May 9, 2001
1,694
0
0
GB
hi

I would like to copy a TQuery to a temp store, or it's dataset. Is this possible? and how do I do it?

Many thanks
lou
 
weez,

Take a look at the TBatchmove component on the Data Access tab of the Component Palette. Also, there are examples provided with Delphi. Check out the Help topic for details.

Hope this helps...

-- Lance
 
just drop down a tbatchmove object ten just configure te following properties

set the mode to append
the source and the destination.

on your onclick event(or oter event) just do this...

batchmove1.execute


dats ol.....
 
Have a look at the TDataSet.CloneCursor method.
This may help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top