Hi All,
I am new to this OL Connect Professional.
Currently working on input PDF (main) and Excel.
when I tried to connect to excel, there is an error as below.
currently connected to the excel using script whenever I declared a new field. is it because of that the error prompt.
is there a way if we want to extract variables from excel to connect only once?
i used below script
var connectionURL = "jdbc:odbc:e_Invoce_Master";
var excelConnection = db.connect(connectionURL,"","");
var excelQuery = "SELECT * FROM [Supplier$]"; *// WHERE SUPPLIER_NAME=" + "'" + CID + "'";*
resultSet = excelConnection.createStatement().executeQuery(excelQuery);
resultSet.next();
let S_MSIC_CODE;
S_MSIC_CODE = resultSet.getRow() ? resultSet.getString("SUPPLIER_MSIC_CODE") : "";
logger.info(S_MSIC_CODE);
S_MSIC_CODE;
Thank you for your support.
Thank you in advance.