Solved

Multi User database

Posted on 2001-09-12
11
219 Views
Last Modified: 2006-11-17
My access database was multi-user but recently, after moving it to another server it became single user.  Is this a workgroup issue or something?

I've checked the options menu to make sure it is shared.
0
Comment
Question by:keypusher
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 7

Expert Comment

by:Nosterdamus
ID: 6478714
Hi keypusher,

What is exactly the problem?

Nosterdamus
0
 
LVL 57
ID: 6479267
Make sure that all users have full read/write/delete priviledges for the directory where the MDB is stored.

If Access cannot create a LDB file, it will open in exclusive mode.

Jim.
0
 

Author Comment

by:keypusher
ID: 6483127
I get a message something like: You can not save at this time it is being edited by another user.  There is a .ldb file and I checked the read/write privileges.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 57
ID: 6483152
OK that's something else again.  You didn't say which version of Access this is, but until A2000, Access locked on pages and not records.

 This means that a single user can cause more then one record to be locked and hence, the dialog your getting.

There is a workaround for this, but before I go further, what version are we talking about?

Jim.
0
 

Author Comment

by:keypusher
ID: 6483624
Access '97
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 30 total points
ID: 6483650
Well then you defintly locking on pages.  The workaround I mentioned is to pad the records enough so that only one record can fit on a page (Access records cannot span pages).  Since a page in A97 is 2048 bytes, you need to ensure that the page is larger than 1024 bytes.

This is done by calculating the current record size and then adding enough text fields filled with something to pad the record out.

I can go into more detail if you wish.
Jim.
0
 

Author Comment

by:keypusher
ID: 6483694
I little bit more detail would be helpful.
0
 
LVL 57
ID: 6484576
What you'll need to do is first figure out the existing record size.  OLE and memo fields are stored seperately from the rest of the record, and a 16 bytes pointer is put in wil the rest of the record unless they use 32 bytes or less.  

So for a record you have:
7 bytes overhead
1 byte overhead for each defined field
size for fields as you would expect (4 bytes for integer and single, 8 for long and double, etc).

Text fields however are special as they only store what's in the record.  In other words if I define a text field with 50 as the maximum length, and put a "A" in the field, only 1 character of storage of space is used.  So for text fields, assume one byte.

Total up all your existing fields and figure out the pad length (1024- record size).  Let's say you need 734 bytes of padding.

  734/255 (maximum text fields) = 2.878

 in this case, you'd round that off to 3 text fields of 255 characters each. Open the table in design view, add 3 text fields and set the deafult values to:

="xxxxxxxxxxxxxxxxxxxx.....xxxxxxxxxxx"  (255 "x")

  You must do this.  If you don't put something in the field, the space won't get used.

  Remember to run an update query on existing records as the default value only applies to new records.

Questions?
Jim.
0
 

Expert Comment

by:amp072397
ID: 6784154
keypusher:

You have many open questions:

http://www.experts-exchange.com/jsp/qShow.jsp?qid=20159419
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20173252
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20179072
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20182130
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20184408
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20181662

To assist you in your cleanup, I'm providing the following guidelines:

1.  Stay active in your questions and provide feedback whenever possible. Likewise, when feedback has not been provided by the experts, commenting again makes them receive an email notification, and they may provide you with further information. Experts have no other method of searching for questions in which they have commented, except manually.

2.  Award points by hitting the Accept Comment As Answer button located above and to the left of that expert's comment.

3.  When grading, be sure to read:
http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp#3
to ensure that you understand the grading system here at EE. If you grade less than an A, you must explain why.

4.  Questions that were not helpful to you should be PAQ'd (stored in the database for their valuable content?even if not valuable to you) or deleted. To PAQ or delete a question, you must first post your intent in that question to make the experts aware. Then, if no experts object after three full days, you can post a zero-point question at community support to request deletion or PAQ. Please include the link(s) to the question(s).
CS:  http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
At that point, a moderator can refund your points and PAQ or delete the question for you. The delete button does not work.

5.  If you fail to respond to this cleanup request, I must report you to the Community Support Administrator for further action.

Our intent is to get the questions cleaned up, and not to embarrass or shame anyone. If you have any questions or need further assistance at all, feel free to ask me in this question or post a zero-point question at CS. We are very happy to help you in this task!


thanks!
amp
community support moderator

9/18
0
 
LVL 54

Expert Comment

by:nico5038
ID: 6983068
for keypusher

It's time to clean up this TA, so I will leave a recommendation in Community Support that this question is:
 - Answered by: JDettman  
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6997556
Per recommendation, force-accepted by
Netminder
CS Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question