|
-
Nov 22nd, 2003, 05:04 PM
#1
Thread Starter
Junior Member
What is wrong with this code ?
Hi there, VB.NET
I need to write to a text file the values, instead it writes the string
FileOpen(1, "d:\orders\orders.txt", OpenMode.Output)
If LCase(Trim(MyArray(J, 45))) = "yes" Then
OutLine = "TAB(2)," & " Trim(MyArray(J, 38)), "
End If
If LCase(Trim(MyArray(J, 37))) = "new" Then
OutLine = OutLine & " TAB(51), " & " NONE "
Else
OutLine = OutLine & "TAB(51)," & " Trim(MyArray(J, 25)), "
End If
PrintLine(1, OutLine)
orders.txt TAB(2), Trim(MyArray(J, 38)), TAB(51), NONE
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
|