|
-
November 9th, 1998, 08:35 PM
#1
opening files
Trying to open a file, and then append data to it... how can I do this?
So far I have:
Open App.Path & "\output.txt" For Random As #OutputFile Len = Len(MyRecord)
thanks...
-
November 25th, 1998, 01:54 PM
#2
Re: opening files
There is another way to do what you want but this should work.
Public FileNumber As Integer
Public strFileName As String
Dim strStringToWrite As String
strFileName="c:\folder\name.txt"
strStringToWrite ="Some data"
Open strFileName$ For Append As #FileNumber
Print #FileNumber, strStringToWrite
Close #FileNumber
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
|