Article View: borland.public.cppbuilder.database.ado
Article #891Re: TADOdataset - create new worksheet in an excel file
From: Vishal Khandelwal
Date: Thu, 24 Feb 2005 13:36
Date: Thu, 24 Feb 2005 13:36
31 lines
2074 bytes
2074 bytes
i was able to create a worksheet by After connecting to excel file, try to execute (call ADOConnection::Execute for every line) CREATE TABLE [MySheet] (Col1 Int, Col2 VarChar(20)) (this is from some previous postings) http://groups-beta.google.com/group/borland.public.cppbuilder.database.ado/browse_thread/thread/84d0342e6b56816d/17807e1b93dfe565?q=cppbuilder+ado+Excel&_done=%2Fgroups%3Fq%3Dcppbuilder+ado+Excel%26&_doneTitle=Back+to+Search&&d#17807e1b93dfe565 Thanks and Regards, Vishal "Vishal Khandelwal" <vishal_khandelwal@persistent.co.in> wrote in message news:421db890@newsgroups.borland.com... > Hi, > > I use TADOdataset to access the information stored in my excel file. Is it > possible to create a new worksheet and assign names to its columns (i.e. > store info in the first row of column)?, typically a "create table" types. > I am able to insert/update values in a worksheet in an excel file through > Edit() and Insert()/Append() respectively. > > Thank and Regards, > Vishal > > >
Technical Details
Message-ID:
<421dd7d2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<421db890@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,ae5cbb83a968a018 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vishal Khandelwal" <vishal_khandelwal@persistent.co.in> Newsgroups: borland.public.cppbuilder.database.ado References: <421db890@newsgroups.borland.com> Subject: Re: TADOdataset - create new worksheet in an excel file Date: Thu, 24 Feb 2005 19:06:41 +0530 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 203.199.164.2 Message-ID: <421dd7d2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109252050 203.199.164.2 (24 Feb 2005 05:34:10 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail