How to Get Rid of Quotes When Writing to TXT File
I am making a routine in Access that will automatically generate a custom HTML page. I find that writing strings to the TXT file generate quotes (as if i am creating a delimited file). How do i manipulate things so that only what i send to the file is printed (without the quotes)?
Here is my code:
Private Sub cmdWrite_Click()
Dim strString As String
strString = "TEST"
Open "f:\test.txt" For Output As #1
Write #1, strString
Close #1
End Sub
If i write TEST and then open TXT file, i get "TEST" (with the quotes). This is no good.
Thank you!
Llyal
I am making a routine in Access that will automatically generate a custom HTML page. I find that writing strings to the TXT file generate quotes (as if i am creating a delimited file). How do i manipulate things so that only what i send to the file is printed (without the quotes)?
Here is my code:
Private Sub cmdWrite_Click()
Dim strString As String
strString = "TEST"
Open "f:\test.txt" For Output As #1
Write #1, strString
Close #1
End Sub
If i write TEST and then open TXT file, i get "TEST" (with the quotes). This is no good.
Thank you!
Llyal