Subject RE: [IBO] comment on TIB_Import
Author Riho-Rene Ellermaa
Me too. As I'm a C++ programmer, I'm not very familiar with Pascal and BCB doesn't show me variable values when I try to debug IB_Import.pas
But it shouldn't be so hard. Just check that the first character in line is CRLF and ignore this line.

BTW, this reminds me Mark Twain's "Tom Sawyer" :-)

Riho-Rene Ellermaa
senior programmer
Hansabank

>
>
> Yes, it would. I'd be grateful if someone made these improvements.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> > Hi!
> >
> > I started to use TIB_Import components and found small
> problem. When last
> row ends with CRLF, so that I have empty line at the end of
> file, I get
> error "invalid number of fields" or something like that.
> >
> > Wouldn't it make more sense to make the component smarter and let it
> recognise/ignore empty rows?
> >
> > Riho-Rene Ellermaa
> > senior programmer
> > Hansabank