datatransfer from array 
Author Message
 datatransfer from array
Is there a way to transfer data from an array to a delimited text
file, or to data-transfer just a single record from a table (without
doing a query and a transfer from the answer table)?

Ken



Tue, 03 Sep 2002 03:00:00 GMT
 datatransfer from array


Quote:

> Is there a way to transfer data from an array to a delimited text
> file, or to data-transfer just a single record from a table (without
> doing a query and a transfer from the answer table)?

how about:
ts.open("filename.txt","nw")
tc.copytoarray(arrayname)
for element from 1 to arrayname.size()-1
    ts.writeString("\"" + string(arrayname[element]) + "\",")
endFor
ts.writeLine("\"" + string(arrayname[arrayname.size()]) + "\"")
ts.close()

I think that would do it.
Fintan

Sent via Deja.com http://www.deja.com/
Before you buy.



Tue, 03 Sep 2002 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. FTP : DataTransfer from server to a ftp site.

2. Problems with datatransfer

3. HELP !!! SQL SERVER 6.5 DATATRANSFER MANAGER

4. msde datatransfer

5. MSDE Datatransfer

6. msde datatransfer

7. Datatransfer from SQL 6.5 to SQL 7.0

8. msde datatransfer

9. JDBC and encrypted datatransfer

10. DataTransfer to SQL Server

11. call COM-DLL function in DB2 (maybe from Trigger) - For datatransfer between DB2 and SQL Servers


 
Powered by phpBB® Forum Software