export data

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dj_sherbu
Posts: 7
Joined: Tue 29 Apr 2008 12:13
Contact:

export data

Post by dj_sherbu » Mon 19 May 2008 07:46

I am extracting data from a mysql database with a TMyQuery and showing it in a TCRDBGrid. Is it posible to export data from the TCRDBGrid to a text, csv or xls file? And if it is posible how can i do that? 10x

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 21 May 2008 09:53

MyDAC supports export data only in the xml format. You can use the TMyQuery.SaveToXML method for this.

Post Reply