Board index » delphi » Delphi5 & SQL Server Table Export
Pam
![]() Delphi Developer |
Fri, 01 Aug 2003 00:26:55 GMT
|
Pam
![]() Delphi Developer |
Fri, 01 Aug 2003 00:26:55 GMT
Delphi5 & SQL Server Table Export
Hi,
In Delphi, how does one export an SQL Server table to the user's a: drive? TIA, |
Alain Quesne
![]() Delphi Developer |
Fri, 01 Aug 2003 04:27:08 GMT
Re:Delphi5 & SQL Server Table ExportIn what format do you want to save the data on the a: drive? Excel, csv, txt, etc.? -- Alain Quesnel Quote"Pam" <parke...@zdnetonebox.com> wrote in message news:3a86c52c_1@dnews... |
Pam
![]() Delphi Developer |
Fri, 01 Aug 2003 09:07:08 GMT
Re:Delphi5 & SQL Server Table ExportI think as a text file. I'm translating this application from Paradox-based to SQL Server-based. The previous version just saved the table as a .db file. Is there a way to save it in table format? Quote"Alain Quesnel" <cinqsanss...@compuserve.com> wrote in message Quote> In what format do you want to save the data on the a: drive? Excel, csv, |
Pablo Giet
![]() Delphi Developer |
Fri, 01 Aug 2003 20:31:31 GMT
Re:Delphi5 & SQL Server Table ExportIn my experience, a good way is teach the users how to get data from the Server va Excel\Data\Obtain external data. THis way result very usefull to them because they not need me every time to extract and manipulate data (Read only of course). QuotePam wrote: |
Pam
![]() Delphi Developer |
Fri, 01 Aug 2003 22:33:16 GMT
Re:Delphi5 & SQL Server Table ExportThat makes perfect sense, but in this instance, I need to be able to do it programmatically. Is there an easy way to do this? Quote"Pablo Gietz" <gietz...@arnet.com.ar> wrote in message Quote> In my experience, a good way is teach the users how to get data from the |
Edwin Walke
![]() Delphi Developer |
Fri, 01 Aug 2003 23:28:11 GMT
Re:Delphi5 & SQL Server Table ExportOne way, is too get a grid that exports to different formats. So all you have to do is to bind the grid to a datasource and then export. Edwin Quote"Pam" <parke...@zdnetonebox.com> wrote in message news:3a86c52c_1@dnews... |
Pam
![]() Delphi Developer |
Sat, 02 Aug 2003 04:31:09 GMT
Re:Delphi5 & SQL Server Table ExportGood suggestion, but which components do I need to use to export an SQL Server table in Delphi? Quote"Edwin Walker" <ewal...@summitnational.com> wrote in message Quote> One way, is too get a grid that exports to different formats. So all you |
Edwin Walke
![]() Delphi Developer |
Sat, 02 Aug 2003 05:32:51 GMT
Re:Delphi5 & SQL Server Table ExportI just went to www.delphipages.com and search for 'grid export' and found a couple. I sure www.torry.net has some also. SMExport suite v3.70 looks interesting. Edwin Quote"Pam" <parke...@zdnetonebox.com> wrote in message news:3a884fef$1_2@dnews... Quote> > > Hi, |
Eduardo Martinez Ocamp
![]() Delphi Developer |
Sat, 02 Aug 2003 08:34:58 GMT
Re:Delphi5 & SQL Server Table ExportYou can use Quick reports to export your data to text, just create a detail band an add the fields you wish to export, no headers, no groups and use the ExportToFilter method -- |
Etienne Crespe
![]() Delphi Developer |
Sat, 02 Aug 2003 16:55:57 GMT
Re:Delphi5 & SQL Server Table ExportHave a look at TClientDataSet Pam a crit dans le message <3a86c52c_1@dnews>... Quote>Hi, |
Stimp
![]() Delphi Developer |
Mon, 04 Aug 2003 12:11:49 GMT
Re:Delphi5 & SQL Server Table ExportPam, First, what SQL server are you using? If it is MS-SQL Server then you can by using the enterprise manager do that If it is Interbase, there is a command line tool that will do this for you. If it is Oracle, you can write a stored procedure that will write the file The general rule of thumb for doing exports has been to avoid as much if not Good Luck. Quote"Pam" <parke...@zdnetonebox.com> wrote in message news:3a86c52c_1@dnews... |
Pam
![]() Delphi Developer |
Mon, 04 Aug 2003 21:22:21 GMT
Re:Delphi5 & SQL Server Table ExportStimpy, Thank you so much for all your assistance!! Using MS SQL Server 7, I successfully created a .dts file that exports one Thanks again!! Quote"Stimpy" <stim...@linkline.com> wrote in message Quote> Pam, |
Euan Garde
![]() Delphi Developer |
Tue, 05 Aug 2003 14:44:43 GMT
Re:Delphi5 & SQL Server Table ExportCOM (OLE) is one way to do this, you can also just use DTSRun, you can just call this from createprocess. -Euan Quote"Pam" <parke...@zdnetonebox.com> wrote in message news:3a8be013_2@dnews... - Hide quoted text - - Show quoted text - Quote> > > Hi, |
R. Roger
![]() Delphi Developer |
Sun, 24 Aug 2003 21:29:11 GMT
Re:Delphi5 & SQL Server Table ExportHi Pam, It is possible to write a stored procedure that will execute a DTS package. Let me know if you would like more information on how to do this. Richard. Quote"Pam" <parke...@zdnetonebox.com> wrote in message news:3a8be013_2@dnews... - Hide quoted text - - Show quoted text - Quote> > > Hi, |
Justin Pitt
![]() Delphi Developer |
Sun, 24 Aug 2003 23:22:53 GMT
Re:Delphi5 & SQL Server Table Exportusing adoexpress, use the GetStrings method of the recordset object, assign the result to a stringlist and use savetofile http://msdn.microsoft.com/library/psdk/dasdk/mdam10j3.htm the string format only has one meaningful value : 2 |
1. Sql Server 2000 & Sql Server 7.0
2. TQuery, MS SQL Server & Temporary Tables
3. PROBLEM WITH MS SQL & DELPHI5
4. Field types: SQL 7 & Delphi5
5. Delphi5 & Interbase - SQL Query Length Question
6. Error Delphi5 with sql server 2000
7. SQL Server, Delphi5, Identity fields....
8. rounding error in a NUMERIC field/MS SQL Server, Delphi5