pbuddy2007
Technical User
I'm saving in a text file the value : 100,000 using :
FileNum = FreeFile
Open App.Path & "\temp\file.jfl" For Output As FileNum
Print #FileNum, Text1.Text
Close FileNum
and I'm reading the same file using :
FileNum = FreeFile
Open App.Path & "\temp\file.jfl" For Input As #FileNum
Input #FileNum, tx1
Close #FileNum
Text1.Text = tx1
The problem is that text1.text only print : 100 but the content of the file itself is really 100,000 .
The routine I"m using to read the data stops at the comma.
How can I resolve this issue so that text1.text will print 100,000
FileNum = FreeFile
Open App.Path & "\temp\file.jfl" For Output As FileNum
Print #FileNum, Text1.Text
Close FileNum
and I'm reading the same file using :
FileNum = FreeFile
Open App.Path & "\temp\file.jfl" For Input As #FileNum
Input #FileNum, tx1
Close #FileNum
Text1.Text = tx1
The problem is that text1.text only print : 100 but the content of the file itself is really 100,000 .
The routine I"m using to read the data stops at the comma.
How can I resolve this issue so that text1.text will print 100,000