I'm using the following statements for reading from a multiple-sheet Excel file:
CREATE CURSOR Main (ID N(3,0), SUBID N(3,0), DESC C(60), D C(128), E C(10), F C(10), G C(10), H C(10), I C(10), J C(10), K C(10), L C(10), M C(10), N C(10), O C(10), P C(10), Q C(10) )
APPEND FROM (cFile) TYPE XL5 SHEET "cSheet_n"
with cSheet_n = sheet names of the current spreadsheet.
The tables had been saved as Excel5.0 workbooks.
Typically 100 rows are being read per sheet, typically 5 to 10 sheet per file in total.
If the table is somewhat larger or contains more commenting text within the columns E (from which I read 10 chars only), the procedure tends to crash, but astonishingly this isn'z really reproducible (sometimes on the 1st sheet, sometimes on the 4th only)!
I tried out with XL8 instead of XL5 -> no difference.
If I replaced all formula in the sheet by the values, it behaved better, but not clearly stable (still crashing sometimes).
What's wrong