Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
quiquegzz
Partner - Contributor III
Partner - Contributor III

Error: File extdata.cpp, Line 2787 $_xlnm#_FilterDatabas

Hola.

Estoy leyendo archivos de Excel que tienen varias Hojas / Pestañas

el problema es que esta marcando este error.

Error: File extdata.cpp, Line 2787
AuditBasic: 
    LOAD   *

FROM  ['C:\File 08-08-13 Rest.xlsx
    (ooxml, embedded labels, table is [File 08-08-13 1$_xlnm#_FilterDatabas])

Este es el código que se esta utilizando.

for each File in filelist ('C:\Temp\*.xls')

  ODBC CONNECT TO [Excel Files;DBQ=$(File)];

  tables:

  SQLTables;

  DISCONNECT;

  FOR i = 0 to NoOfRows('tables')-1

LET sheetName = purgeChar(peek('TABLE_NAME', i, 'tables'), chr(39));
LET sheetName = Left('$(sheetName)',Len('$(sheetName)') -1);

     Data:

     LOAD * FROM $(File) (biff, embedded labels, table is $(sheetName));

  NEXT

  DROP Table tables;

next File

Saludos Cordiales.

1 Reply
quiquegzz
Partner - Contributor III
Partner - Contributor III
Author

Ya utilice

SET ErrorMode = 0;

SET ErrorMode = 1;

y se soluciono pero estoy buscando una respuesta más concreta.  (Mejor Práctica)