Re: How to copy the content of TDBGrid into Excel file

"Robert Alderton" <[email protected]> Wed, 13 Aug 2003 11:06:12 -0400
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>

Robert Alderton@WAVE_DOMAIN
08/13/2003 11:06 AM
Without using the servers and hence not needing to have Excel installed. If you
have ADO available you could
always connect to the excel file as a data provider using the Jet 4.0 Ole
provider excel driver and dump you data in that way.

Robert Alderton







"vik_ch_sin" <[email protected]> on 08/13/2003 06:07:52 AM

Please respond to [email protected]
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      [email protected]                  
                                                              
 cc:      (bcc: Robert Alderton/WAVE/US)                      
                                                              
                                                              
                                                              
 Subject: [Delphi] How to copy the content of TDBGrid into    
          Excel file                                          
                                                              







Hi Friends
 Help me out with this one .

I want to copy the content of TDBGrid into Excel Sheet .
I wrote the following line of code

TCustomDataSet.SaveToFile(fileName.XLS)

to do the same .

But the XLS file generated has unsupported charecters ...

What is the Solution to this

Thanks in Advance ...
eagerly waiting for ur responce

Vikash



CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
---------------------------------------------------------------

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/