Microsoft Access 97 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Access 97: how to cache username/password with dsnless connection

I have to work on an access 97 multiuser system (I used to be very strong in access 97-2000) that is linking to Sql Server (probably 6.5) I cannot upgrade. repeat: i cannot upgrade :(

The Problem:
currently they are using an odbc connection, and holding onto a windows 98 machine to relink tables with, since 2000/xp seems to cache some extra stuff that causes odbc errors.

to make things even more complicated, the code is written to require users to log into the SQL Server database with actual Sql Logins (as opposed to one set login & identifying the users from a login table). they do this via a login form in access.

and to top it all off, they are linking 164 tables.

The Question:
1) given that they have to use different sql server logins, how can I switch this to a dsnless connection that is somehow caching the SqlServer user/pass login for each table? doing a relink process each time is impractical due to the number of tables.

2) I can't seem to find the correct dsnless connection string. it should be dead simple, but it ignores the "trusted_connection=no" and tries to force windows authentication.

Thanks in advance for the help.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiZll2dEthZjNiSm01dVJFWiIsImdkcHIiOjB9