Hi,
I have inherited an access userinterface that links to sql server
tables through ODBC. The SQL server database contains data related to
villages in my country and is populated by my collegues.
Now I have to create an access data file for each village and deliver
it to the local governments ... so they can see only their data using
the same userinterface.
I've made a little program that extracts the data by village from sql
server into access. So I have one access data mdb for each village,
with only their data, but now the userinterface has to access the
access database, no longer the SQL Server via ODBC.
I wondered if I could accomplish this without touching the UI mdb by
using two types of datafiles, one pointing to the ODBC and one with
it's own data, but that doesn't seem possible:
If I rename the name of the linked table in the datafile and I make a
linked table to the ODBC with the original table name the
userinterface does not accepts this. See the screenshot to see what I
have done : testlinked is my UI and testlinked_be is the data mdb.
I've tried to dynamically link tables when starting up the
userinterface, but since I'm a .NET developer with nearly no Access
experience I did not manage to do so.
Anyone experienced the same problem or anyone with a workaround
suggestion? I hoped I could stay with one UI so there's no need to
update two versions when some business logic needs to be adapted ...
but now I'm afraid there's no way around, maybe I can't without 2
versions of the userinterface ... one pointing to the ODBC and one
pointing to access data.
Thanks in advance,
Perre.
I have inherited an access userinterface that links to sql server
tables through ODBC. The SQL server database contains data related to
villages in my country and is populated by my collegues.
Now I have to create an access data file for each village and deliver
it to the local governments ... so they can see only their data using
the same userinterface.
I've made a little program that extracts the data by village from sql
server into access. So I have one access data mdb for each village,
with only their data, but now the userinterface has to access the
access database, no longer the SQL Server via ODBC.
I wondered if I could accomplish this without touching the UI mdb by
using two types of datafiles, one pointing to the ODBC and one with
it's own data, but that doesn't seem possible:
If I rename the name of the linked table in the datafile and I make a
linked table to the ODBC with the original table name the
userinterface does not accepts this. See the screenshot to see what I
have done : testlinked is my UI and testlinked_be is the data mdb.
I've tried to dynamically link tables when starting up the
userinterface, but since I'm a .NET developer with nearly no Access
experience I did not manage to do so.
Anyone experienced the same problem or anyone with a workaround
suggestion? I hoped I could stay with one UI so there's no need to
update two versions when some business logic needs to be adapted ...
but now I'm afraid there's no way around, maybe I can't without 2
versions of the userinterface ... one pointing to the ODBC and one
pointing to access data.
Thanks in advance,
Perre.
Comment