This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C16E1D.52BFC110
Content-Type: text/plain;
charset="iso-8859-1"
This is by design. As others have suggested you can use 'line input'.
However, if it is a comma delimited file I assume you are interested in
holding each field in a varible. To do this in a csv file with 3 columns,
use three inputs
'open file
do until eof(1) = True
For x = 1 to 3
Input #1, strColumn1
Input #1, strColumn2
input #1, strColumn3
next
'other code here
Loop
-----Original Message-----
From: Asim Karim [mailto:asimkarim@y...]
Sent: Friday, 16 November 2001 01:33 AM
To: professional vb
Subject: [pro_vb] Input Function
I am opening a text file using the Input function.
My file has comma delimited records.
When I read the line thru vb, I can only read thru the
first comma, and the rest of the line is ignored.
What would be a work-around?
Thanks
-Asim
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com