Hallo together,
I have to extract Data from Excel into Access Database. One file ok it works fine. Every Excelfile has the same structure but different name. How can i control that all files will be readed one after the other ?
My idea was to create a file list with all Excelfile names but i don't know how to use the file names in tFileInputExcel as parameter ___FILENAME___.
Hi Use TFileList and and check for all excel files in the folder give the file name as ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH") This will help you to fetch the files dynamicaly and process it.
Thanks but now there is another error! Starte Job Leergutkontrolle am 10:48 12/04/2011. connecting to socket on port 3811 connected Firma Tour Datum Artnr EingSt Exception in component tFileInputExcel_1 java.lang.Exception: The data source should be specified as Inputstream or File Path! at test_1.leergutkontrolle_0_1.Leergutkontrolle.tFileList_2Process(Leergutkontrolle.java:1013) at test_1.leergutkontrolle_0_1.Leergutkontrolle.runJobInTOS(Leergutkontrolle.java:1631) at test_1.leergutkontrolle_0_1.Leergutkontrolle.main(Leergutkontrolle.java:1502) disconnected Job Leergutkontrolle endet am 10:48 12/04/2011.