74 Could not read from file.

Problem: Getting error "Could not read from file."

1: When trying to import an Excel 3 spreadsheet.
Date: 22 November 1999
Versions: P9 and later.
More information:
see current bugs PX0457


2: When trying to read a graphic file with ObjectPAL code.
Date: 14 January 2000
Versions: P9 prior to SP4.
More information:
see fixed bugs PX0478


3: When trying to import an Excel spreadsheet.
Versions: P9 and later.

Caused by:
The source range specified contains only the data to be imported. setSourceFieldNamesFromFirst(False) is specified. The header rows does not match the number of columns in the data to be imported.
Solution:
Fix the header rows so last row has names in all columns to be imported. Include the last header row in the range and specify setSourceFieldNamesFromFirst(TRUE).

To index