Hello,
I was able to read data from an excel upto friday but from today the same script is giving the error as
*** Error: (HY000) [Microsoft][ODBC Excel Driver] Reserved error (-5016); there is no message for this error.
Not able to figure out where is the problem.
Below is the snippet
[ ] List of List of String lslsData
[ ] int i
[ ] List of String lsData
[ ] HDATABASE hdbc
[ ] HSQL hstmnt
[ ] String Sheet_name="Credentials"
[ ]
[ ] hdbc = DB_Connect ("DRIVER=Microsoft Excel Driver (*.xls); DBQ={sInputFile}")
[ ] hstmnt = DB_ExecuteSql(hdbc,"Select * from [{Sheet_name}$]")
[-] while(DB_FetchNext(hstmnt,lsData))
[ ] ListAppend(lslsData,lsData)
Thanks
Kumar