Not sure if this is the best forum for this but here goes...
I have a VB app that processes a CSV file, using LINE INPUT to read each line into a string.
From what I have read LINE INPUT relies on the lines being seperated by Carraige Returns.
For a (currently) unknown reason it appears the CSV files being read in (from another third party app) has started seperating the lines by line feeds in places, and thus not being split correctly using LINE INPUT (I have tested this by using InStr(inputstring, CHR(13) returning 0 and through another util).
The other third party developer is lost as to why this is happening. Their development environment is Mac which I believe only outputs carraige returns, not line feeds.
-Does anyone have any suggestions what may be happening here? E.g. when the file is being downlaoded from the FTP site to a windows environment may the characters get 'reformatted' somehow?
-Should I need to change my code what are my options? Anything else apart from replace all chr(10) with chr(13)?
Cheers
Bob
I have a VB app that processes a CSV file, using LINE INPUT to read each line into a string.
From what I have read LINE INPUT relies on the lines being seperated by Carraige Returns.
For a (currently) unknown reason it appears the CSV files being read in (from another third party app) has started seperating the lines by line feeds in places, and thus not being split correctly using LINE INPUT (I have tested this by using InStr(inputstring, CHR(13) returning 0 and through another util).
The other third party developer is lost as to why this is happening. Their development environment is Mac which I believe only outputs carraige returns, not line feeds.
-Does anyone have any suggestions what may be happening here? E.g. when the file is being downlaoded from the FTP site to a windows environment may the characters get 'reformatted' somehow?
-Should I need to change my code what are my options? Anything else apart from replace all chr(10) with chr(13)?
Cheers
Bob