× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I figured out what I was doing. I was checking for *Null after the cell=
statement & I needed to do it on the row= statement

Steve Jones





Reading XLS

sjones
to:
rpg400-l
12/20/2011 11:25 AM


Sent by:
rpg400-l-bounces@xxxxxxxxxxxx
Please respond to RPG programming on the IBM i / System i






I am using HSSF to read a spreadsheet using:

row = HSSFSheet_getRow(sheet: RowIndex);
cell = HSSFRow_GetCell(row: ColIndex);

I increment RowIndex/ColIndex to move through the spreadsheet. How do I
determine when I have reached the end of the sheet? I tried chekcing row
for *null, but that didn't work.

Thanks

Steve Jones

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.