Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

network issues with b/e

Status
Not open for further replies.

Jacko123

Technical User
Nov 9, 2002
3
GB
I ave developed a database and split it to f/e and b/e and placed the b/e on the server and f/e on my colleagues and my own machines,my problem is both can access the database BUT neither of us can view the same form at the same time and get an error saying the form is locked by the user already viewing it,1st in egts the goodies so to speak, i have checked permissions etc and they all appear ok both on f/e and b/e, in both f/e and b/e i have set to no record locks also.Soooooooo what am i missing.?
 
The recordsets are being locked. You will need to check how this is happening. Look at your control flow in the app.

Are you using dynasets - they lock records.
What type of locks i.e. Pessimistic or Optimistic. Pessimistic locks when the record is retrieve and edited in a dynaset - Do not use unless for special reason.

 
yeah i'm using dynasets, would i be better with snapshots then.????
 
You will need to use dynasets if you are going to UPDATE, DELETE, or INSERT data. If you only need to look at data then the snapshot is okay.

Best to go over your control flow and make sure any given record is not locked in more than one place. Also, make sure you are using Optimistic locks as this places the lock just before the update. There are a number of things that can cause a record to be locked. One is not tabbing off a record that you are updating and then going to another form or if another user is trying to get the record it will be locked - make locks momentary. My guess is you probably have a pessimistic lock on the recordset.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top