Hi all,
I am looking for some code to clear users who have linked a table from a database - hence keeping the database locked whilst accessing this data.
Any ideas?
PS This is not quite the same as the
"VBA code to kick off logged users before maintenance"
thread.
Regards,
Mark
The AvailBeds holds only 1 record per location, with the upto date information - hence that is why it is edited, and the appropriate line found in the data.
The AvailBedsHist holds - in theory - 1 record per adjustment to AvailBeds.
HTH
Hi Gus,
Thanks for your prompt reply, however
[code]Set AvailBedsHist = PrtFolio.OpenRecordset("AvailBedsHist", DB_OPEN_TABLE)
Set AvailBeds = PrtFolio.OpenRecordset("AvailBeds", DB_OPEN_TABLE)[code]
One is the AvailBedsHist table and the other is the AvailBeds table, so...
Hi,
I have a piece of code that I have inhereted - see below - However, the code adds 2 identical lines to AvailBedsHist.
I have stepped through and cannot find anything wrong with the code, and neither can my colleagues here at work.
However, I did notice that it has only begun occuring...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.