B4J Question LoadCSV - how to get number of rows

bvonlaar

Member
Licensed User
Longtime User
Hi,

I want do load CSV files with Stringutils LoadCSV in a table. The number of rows varies in every CSV-file
How can I get number of rows? The table is running in the background (not visible). Is there any chance or
have I to read it with readline and fill the table "manual" and count the written/filled rows?

Benedikt
 

bvonlaar

Member
Licensed User
Longtime User
If i am not mistsken does loadCSV doesnt return a list ? If that is so, with list.size?

You could be right. I was confused from library discription. I read "dim table" and didn´t see "as list". My focus was only upon table and tableview.
....
I made now a test and it´s work. I loaded the CSV-file into the list, got the rows with list.size and put it all in the tableview.

thanks
Benedikt
 
Upvote 0
Top