problems with some database in .csv format

Discussion in 'Questions (Windows Mobile)' started by francisco cobos, Nov 7, 2007.

  1. francisco cobos

    francisco cobos Member Licensed User


    I have the following problems with some database in .csv format:
    Wen I run the project, apears this message:
    Length cannot be less than zero, parameter name: length, continue?

    The thing is that if I answer "yes", the table is loaded perfectly and the program works without problems. Also, if I save the table with "Table1.saveCSV" there is no problem anymore...

    It is a real problem or is a bug?

    Thank you for your help
  2. Erel

    Erel Administrator Staff Member Licensed User

    Make sure that the csv file doesn't include any empty lines at its end.
    Please upload the file if it doesn't help.
  3. francisco cobos

    francisco cobos Member Licensed User

    Ok, this is the solution, it was an "invisible" empty line at the end of the file!

    Thank you very much
  4. fwc320

    fwc320 New Member

    And what about a csv file downloaded from a web site that can contain (or not...) empty lines at the end ? Is there a way to avoid this error message ?
  5. RandomCoder

    RandomCoder Well-Known Member Licensed User

    I had this problem and my way of solving it was to use an error lable to catch the fault but then proceed as normal.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice