Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have excel sheet from Jan to Dec in excel workbook. I used script to load all excel sheets at a time in qvw. when reloading it is showing below error.
Field not found - <Name?
(ID)>
[_xlnm#_FilterDatabase]:
can anyone suggest me this how to sort our this. I google the error but not found solution.
Thanks.
I observed this when loading table files
try it with brackets. and make sure it is continuous on the same line
within the sqltables statement you get sheets but also areas, defined in your Excel-file.

In that case the sheet name is the same with the area-name, prefixed with an $.
so load only table, ending with an $ in your loop.
Regards
Hi,
may be the hidden objects in excel (not hidden sheet).
For checking purpose, copy 3 excel sheets, paste special value into another workbook.. then try with the same script
Thanks. where I need to use $. please let me know
in your script here:
Tables1:
load
*,
replace(TABLE_NAME,chr(39),'') as NEW
resident tables;
change to
Tables1:
load
*,
replace(TABLE_NAME,chr(39),'') as NEW
resident tables
where TABLE_NAME like '*$'
;
but I'm not sure if a $ works in a statement.
Otherwise replace it in load load script in a new field
e.g. replace(TABLE_NAME,'$','TAB') as TABLE_NAME_NEW
and use
where TABLE_NAME like '*TAB'
Thanks. it's working.
Thanks to all!
Thanks Jakub...it is working fine for me...given code remove unwanted files from the excels or csv and provide you required file only. ![]()
If you use Store Sentence. You have to use too the Jakub's script : Because store Save a qvd( "xlnm#_FilterDatabase").. ![]()
IF Index('$(sheetName)','FilterDatabase')=0 then
STORE Table1 into $(LocationQvd)NameQVD $(sheetName).qvd;
DROP TABLE Table1;
ENDIF
NEXT
Thank you Jakub your solution is nice ![]()