Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Ya utilice
SET ErrorMode = 0;
SET ErrorMode = 1;
y se soluciono pero estoy buscando una respuesta más concreta. (Mejor Práctica)