Change DB's path
Hello!
If I install ODBC driver on my Win XP for *.xls (Excel file) is there any way to connect to the database per JDBC-ODBC bridge and change the path name of the database (*.xls file) ? I have to make an appliaction that reads excel tables and changes some values. But the file excel file could be anywhere. I'd like that the user must install an ODBC driver only first time, then the application would set the path to proper value each time user uses the application and sets the path of the excel file.
Thanks for future answers and suggestions!
Tilen
> Yeah I'm stuck on Excel. The excel file is actually a
> price list of a company that needs this application.
> And in this price list only prices needs to be
> updated from another file. So I'll use JExcel.
>
> Thanks!
Okay glad to help.
The reason I recommend not using Excel for JDBC (which I am writing as much for future readers of this thread as for you) is that Excel ODBC access is so clunky and Excel specific that all the advantages of JDBC are wiped out. Namely your code is totally non-portable to another data source.
Plus it's just a big PITA.
So all in all Excel specific API's are better.