BackEnd Database Locking when FrontEnd runs a query - why?

S

Sudermatt

The simple question is,

Why does a select query using the IN command lock the target database?

I am trying to write a reporting app where the users have a fairly skinny
frontend on their local machine. The frontend has tables that are linked to
a backend database that drive the application.

In the backend, I do all the work of querying various datasources around our
network to present user datasets.

The Frontend executes : select * from BE_Query in 'Backend'

The problem is, I need to be working in the Backend, creating new datasets,
creating reports, etc. Whenever anyone is using their FrontEnd, i can't
save anything to the Backend.

Any Ideas?

Thanks,
Matt
 
C

Chris O'C via AccessMonster.com

You can't make design changes in a Jet 4 db when anyone else is connected to
the db because you need exclusive access to the file. Kick everyone out of
the db when you want to make changes to the back end tables and relationships.
No other db objects should be in the back end, including reports. For those,
develop the front end on your own pc and push out copies to the users when
you're ready to update the front end.

Chris
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top