Hi,
I don't know whether this is the right forum to post in, but I am having trouble with a file DSN. I have a shared Access database located on a server. It uses a DSN file in the same directory on that server, that points to a SQL Server database. This setup works fine until 2 people try to do a SQL Server database operation at the same time (e.g. executing a SELECT statement through the Access client). When they do, one of the people receives an error message saying 'Could not update. Currently locked'. If you debug the code at this point, it stops when trying to contact the SQL Server database (ie by using the DSN file). One idea I have had is that the File DSN itself needs to have some parameter set that it is missing, so here it is
Any ideas? Can anyone at least point me to a complete list of options for the contents of a file DSN?
Dan Griffiths
Software Analyst
National Grid plc
I don't know whether this is the right forum to post in, but I am having trouble with a file DSN. I have a shared Access database located on a server. It uses a DSN file in the same directory on that server, that points to a SQL Server database. This setup works fine until 2 people try to do a SQL Server database operation at the same time (e.g. executing a SELECT statement through the Access client). When they do, one of the people receives an error message saying 'Could not update. Currently locked'. If you debug the code at this point, it stops when trying to contact the SQL Server database (ie by using the DSN file). One idea I have had is that the File DSN itself needs to have some parameter set that it is missing, so here it is
Code:
[ODBC]
DRIVER=SQL Server
UID=cli_ctms
DATABASE=ctms
SERVER=ngsrvwrk126
Description=CTMS
Dan Griffiths
Software Analyst
National Grid plc