In my EXE, I have included a database. Now, when I run the EXE, it tries to locate each table part of it in the previous path of the development.
My develpment project is in D:\UT. In that directory I have ADMIN.DBC. The tables part of ADMIN.DBC are in D:\UT\DATA\ADMIN directory.
At run time, I have the same structure under D:\UTNAV, which is D:\UTNAV\DATA\ADMIN. I can open the database, but all the references for each table still point to D:\UT\DATA\ADMIN.
How to solve this problem?
I never had this problem before because the database was not included in the EXE. Now, that I have it there, it tries to open each table related to the previous path.