I have what is likely a common scenario. I have an MS-Access application split into front-end and back-end files. I want to set up us开发者_运维知识库ers with an Excel spreadsheet that connects to data on the back-end. But rather than have everyone hit the back-end directly, I'd like to connect to the back-end through linked tables in the front-end, which resides in a folder under %APPDATA% on each user's machine/environment.
Is it possible then to specify the Data Source parameter in the OLEDB for Jet connection string using shell variables (or whatever they are), for example something like %APPDATA%/path/to/app.mdb
? I cannot seem to get this syntax to work. I don't want to have to resort to using Excel VBA if I can help it.
Or, alternatively, can you reassure me that it's not a problem for multiple users to connect (read-only) directly to the back-end file from Excel?
Many thanks,
Eric
精彩评论