|
-
Apr 19th, 2001, 01:10 AM
#1
Thread Starter
New Member
when the program writes to the text file, the data continues to be written horizontally instead of writing to a newline.
here's the code i am using:
Open App.Path & "\data.txt" For Append As #1
For i = 0 To 8
Write #1, txtField(i).Text,
Next i
Close #1
eg: data.txt
"132456","R.","Kelly","1","2","3","4","5","6","987654","Michael","Jordan","6","5","4","3","2","1",et c..
want:
"132456","R.","Kelly","1","2","3","4","5","6" (without comma at the end)
"987654","Michael","Jordan","6","5","4","3","2","1"
etc..
would anyone know how to make it move to newline?
thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|