Locks

Nov 18, 2005

I have a split database and up till now it was fine.

It made a lock on the be and left the fe open to use.

NOW it locks the fe and not the be.

ANY ideas y?

View Replies


ADVERTISEMENT

Data Locks/Record Locks? Question

Feb 12, 2007

I have a database that is used in a retail environment. I cant figure out what causes the locks of data.

I have an invoice (form) that it is filled out at point of sale(customer table). The middle section of the invoice (subform) gets the data from an inventory table.

The issue that i have is that often the subform locks up and does not allow the user to enter new data or make changes? It generally happens when they disconnect from the remote server, or loose connectivity???.

We use remote servers, using remote desktop connections.

The way i fix it is I take a backup database and move the tables out of the locked database into the new one. I just cant figure out what to do about this....>??


When you open an invoice at point of sale if the record is locked No line shows up on the subform to fill in. See image below.
When its fine the line will appear to take in entries.

View 2 Replies View Related

Max Locks Per File

Apr 10, 2008

Hi,

I'm trying to run a very simple update query on a table that has around 200,000 rows. It is only updating one field with the month based on a date using the Month() function.

It keeps saying File sharinglock count exceeded. Increase MaxLocksPerFile registry.

Any idea's on how to do this? The online help within Access is pretty vague.....

I'm also surprised this has happened as I've run update queries on tables with several million rows in before and never had this problem. I have compacted and repaired the database and moved from our server onto the hard drive of my laptop where there is more than enough disk space and with 2Gb ram there should be enough RAM as well.

Cheers

View 5 Replies View Related

Default Listbox Locks

Nov 1, 2005

Hi,

i did a search, but i coudnt find a sulotion.
I want to selected a item in a listbox when a form opens.
i tried:

Me.ProjectView.Selected(1) = True
but this locks the listbox, and nothingelse can be selected.

i tried it with Me!ProjectView!Selected(1) = True
this returns an error.

how can i fix it?

View 2 Replies View Related

Modules & VBA :: Caps And Num Locks Switching Off

Dec 15, 2014

USING ACCESS 2010..My user has reported that his caps and num locks gets switched off when entering a particular form and after testing he's right!!

I've googled this and it seems that sendkeys is/could be the culprit.I do have sendkeys in the code so how do I get around it other than not use sendkeys? Can I switch num lock on in VBA?

View 12 Replies View Related

OleDBConnection Errors, Multiple .ldb Locks On Database

Feb 26, 2005

I've developed a ASP.NET website which connects to a secured access database (user/pwd combos with an .mdw file) and allows users to enter data into the database. After the "due date" the system is locked and the database is transferred to a local computer via FTP for processing. Using a VB program and MS Access Reports, the data is printed out in a convenient format and distributed.

Recently, the more users that use my system the more frequently I've encountered problems with connecting to the database. I've been told that access databases are not designed to be used in a multiuser environment and that I should use MS SQL or mySQL instead.

My users report occasional errors and the debug information on the error page shows an 'unspecified error' prompted by a OLEDBConnection object's open method. Secondly, occasionally in the FTP site I see .ldb locking files with 10-20 locks on the database and the .mdw file held by the web application. I'm using a utility class that connects to the db in the constructor and closes the connection in its finalize method.

Code:Protected oConnection as OleDbConnectionProtected Sub Initialize() sConnString as String sConnString = "Provider=Microsoft.Jet.OLEDB.4.0....the rest of the connection string with data source and passwords oConnection = New OleDbConnection(sConnString) oConnection.Open()End SubProtected Overrides Sub Finalize()oConnection.Dispose()End Sub

First, is there something wrong with this code? Is it not being run at the initialization and finalization of each page load? Secondly, is there any way to avoid db connection errors without moving to ms sql?

Thanks

View 3 Replies View Related

Check For Record Locks On Form Load

Apr 16, 2008

I have a multi user database that has record locking turned on at the form level. If one user is in that form making changes it locks that record so no other user can make changes. When another user tries to edit the same record they are only notified after they hit save. Can you have them be warned that this record is locked before they waste time entering data?

View 1 Replies View Related

Drop Down List Scroll Bar Locks Up Window

Jan 19, 2014

We are developing an Access 2010 database that is to be served using MS Server. Currently we have Windows Server 2008 R2 Standard SP1 64bit with Server Manager Version: 6.1.7601.17514 SP1 on a cumputer with 8GB RAM and an Intel Celeron G550 2.6GHz processor. All software is up to date with MS updates.

We are having a problem with dropdown lists that have too many items to show in the drop-down window so there is a scroll bar. If I click on the down arrow and open the drop down list, and then click on the scroll bar, the access window locks up. If I only click on a choice in the drop-down, but not the scroll bar, it works fine and does not lock up. Once access is locked up, I can click on another window on the desktop and then Access becomes active again. This does not happen on windows 7.

View 10 Replies View Related

Forms :: Multi Select Field Locks Out Users

Dec 17, 2013

I have a form that uses a multi select combo boxes. When more than one person is in the database, if a user is updating any of the multi select combo boxes, it locks out other users from making changes to those fields on different records. Looking for solution so that every user in the database can make changes to those multi select fields on their own specific records?

View 1 Replies View Related

Cmd FormOpen Locks Form When Opening New Form

Mar 31, 2008

I built an info application for a friend in business. Its based on a kiosk style menu with selections, and when a button is clicked it executes "FormOpen" and brings up a second form with the results in it.

Its important for this application that they are two seperate forms which display the results, lets call them form1 and form2 for this exercise.

My problem is that when form1 opens form2, it LOCKS form1. And if you are to try and select a list menu, or click a button on form1, when form2 is concurrently open, it 'beeps' with no function. Whether it be by .disabled or whether its some sort of record lock (to stop a person from editing in two places at once), I'm not sure.

Basically, form1 never needs to have records updated, its the kiosk remember ie. form1 serves as a menu. But when form2 is open i would prefer it if they could could still click buttons on form1 to execute filters for the query i have on form2.

I've tried fidding around with the .disabled property on form1, and then i also thought about the record lock and tried DISABLING data entry on the first form so perhaps access could work around. Nothing has worked. There is also nothing in the book that i have on access.

Please help!!! You will be much loved. Even if you just tell me its not possible then i can sleep easy.

Kind Regards

Jeremy

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved