Improve company productivity with a Business Account.Sign Up

x
?
Solved

Access 2007 splitting a database

Posted on 2009-07-14
9
Medium Priority
?
230 Views
Last Modified: 2013-11-29
I have a database which I have made copies of and have been splitting. There will be more than 10 people who will use this database at any one time. The users need to be able to input and save data.

I have experimented with two people simultaneously usine the same front end. Although we could both access forms at the same time and create new records as soon as we tried to save it would not let both of us.

I then made a copy of the front end so we both had one each. This time it allowed us to save however what I saved on my front end did not appear on the other users front end.

I need to be able to have multiple using the database at once, being able to save and view reports at the same time and have any changes made by one user show up on all other users front ends once it is saved. Can anyone help me?
0
Comment
Question by:Bartzinc
  • 6
  • 3
9 Comments
 
LVL 86
ID: 24854889
Your second scenario would be the correct one - each user should have their OWN copy of the FrontEnd. Users would have to periodically refresh their data, which would refetch those new records.

What do you mean by "save and view reports"? Are you going to allow users to build or alter reports? If so, then those changes would NOT be shared by others (and this can lead to some serious corruption issues also).
0
 

Author Comment

by:Bartzinc
ID: 24855171
Hi,

I wish users to be able to save inputed data and be able to view reports that have already been created. They will not be building or altering anything in regards to the design of the front end. Just want them to be able to input and view.

As I have mentioned above I have trialed using two front ends and the saved new records would only appear on the front end on which they were saved. Even after both front ends were closed and reopened. We need any saved input data changes to be reflected. Can you advise as to how I can make this happen.  

0
 
LVL 86
ID: 24855738
You're not doing something right.

If BOTH frontends connect to the SAME BACKEND, all users will be able to see this.

Did you split the database, then place the backend on a publicly available location, then supply a copy of the FE to each user?
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 

Author Comment

by:Bartzinc
ID: 24855773
I have just tried to split a copied version of the original database.

It has come up with a message
Subscript of of range

What does this mean?
0
 

Author Comment

by:Bartzinc
ID: 24855774
Sorry message should read
Subscript out of range
0
 

Author Comment

by:Bartzinc
ID: 24856264
If you have split a database should you still be able to see the tables in the front end file?
0
 

Author Comment

by:Bartzinc
ID: 24856426
I think the problem lies with the database not splitting properly.

I need someone to help me work out why I keep getting the message
"Subscript out of range"

This seems to be the problem
0
 
LVL 86

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 1500 total points
ID: 24857723
You'd see "links" to the tables in the frontend file. Opening them will look just like opening a local table. Trying open them in Design view, however, will produce an alert message (i.e. you can't Design linked tables).

Splitting a database does this:

1) Removes the tables from the file and places them in another database
2) Creates links to that other database from the original

If you're having troubles with the splitter wizard, you can do this manually:

1) Create a new, blank database. If this is going to be shared, then do so in a publicly available network resource - i.e. a folder that is shared, and can be accessed by all your users on that network.
2) Click File - Get External Data - Import
3) Locate your original database and import all TABLES except for those beginning in MSys ... those are system tables, and Access will create them for you. If you don't see any system tables, click Tools - Options and check the box so that you can view System and Hidden tables.
4) Close the new database
5) Open the original database
6) Delete all tables
7) Click File - Get External Data - Link.
8) Locate the database you created in Step 1 and select all tables except those beginning with MSys.

Your database should now be linked. You now deploy ONLY the original database to your users. Each copy of that db is now linked to the same Backend file, so as users enter data it will all go into that file.
0
 

Author Closing Comment

by:Bartzinc
ID: 31603522
Thankyou
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A quick solution showing how to control and open a POS Cash Register Drawer using VBA with MS Access.
Usually, rounding is performed by some power of 10 - to thousands, hundreds, tens, or integer - or to one, two, or more decimals. But rounding can also be done to a power of two, say, 16 or 64, or 1/32 or 1/1024, even for extreme values.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
A query can call a function, and a function can call Excel, even though we are in Access. This is Part 2, and steps you through the VBA that "wraps" Excel functionality so we can use its worksheet functions in Access. The declaration statement de…

579 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