Link to home
Start Free TrialLog in
Avatar of anushahanna
anushahannaFlag for United States of America

asked on

input past end of file

when the program reads a csv file and complains "input past end of file", does that mean there are characters past the EOF? (maybe an extra space etc)

what else could it be?
SOLUTION
Avatar of jo_m
jo_m

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of anushahanna

ASKER

what program can help to see if the csv file has carriage return?
Avatar of jo_m
jo_m

hello again

 if you copy the  text from notepad into word and  check the  backwards  P  on the which shows all the  Carriage returns  in a document


CR.bmp
What code are you using to read the CSV file?
i am using access code.

the record inside the csv ends with crlf
could that be the problem?

is it possible trim the cr off?

thank you.
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks Jeff.. I asked at the source to make sure to trim the unneeded chars..