Simultaneous development in access possible?

T

test

Hi.

It is possible to develop an application in access (in one mdb-file)
simultaneously with two or more develpoers? So one can, for example create a
new query and an other can build a form (which do not need the query from
the first) or a new table, and so on. If it's possible: How could this be
managed?

Thanks,
Sascha
 
A

Albert D. Kallal

It turns out at one time you could have more then one person doing design
work on the same file at the same time

(access 97 was the last version that allowed this).

From a2000 and on-ward, you cant make design changes when other people are
using the database.

It turns out that as a general rule, we don't actually miss this ability to
have "multiple" people making design changes, and there is a solution to
this problem (see later in this post).

Also, one should not build a table while people are trying to using the
table to have dinner on (a leg might fall off, and everyone looses their
dinner). Or, one should not work on a car while it is being used.

And, working on the code and design of a production database is a formula
for disaster. You need to test and try your changes before letting them out
into the wild (into the hands of your users).

So, as a developer using ms-access, I do in fact need a way to develop, fix
bugs..and work on the "next" great version while the current users happy
work away using the existing application.

When you use a application, usually the application part is separate from
the data part (you run word, and open documents. Or, you run Excel, and open
documents). What about an applications that you make? Again, you need to
split the application part, and make it separate from the data part. That
means you can work on, and make changes to the application part all the
while users are working with the data. To achieve this setup in ms-access we
use what is called a split database. (there is even a database splitter
wizard for you to do this under tools->database utilities->database
splitter).

What the splitter does is takes your existing application and splits it into
two parts.

The application part (generally refereed to as the FRONT END (FE), and
The data only part (generally referred to as the BACK END (BE).

The above thus lets you distribute and give each user a front end, and they
all thus can share the back end.

In the mean while, you can now work on a separate copy of the FE. When all
you new changes etc are done, tested, and you are sure it is safe to
use..you then re-distribute this new front end to each users work station.
So, you can safely work on the next great version of the software..and users
are not effected. (how do you work on the system now when users are using
it?)

And, if the application is not multiple user...you still gain the benefit of
being able to simply copy a new front end to the user without overwriting
the data part..since now that is a separate part.

The above certainly does not let two users made design changes...but it
certainly lets you make design changes to a copy of the application part
which you can then later copy/send to each user without loosing changes to
the data part.

What is even more fab is that you can also work on a copy of the back end
BE, and test routines that update data, delete data etc. If the test don't
go well, you simply just grab another copy of the BE..and test some more.
Right before y ou put the new FE into production, you have to re-link this
FE to the production BE.

One more note:
If you are running a muilt-user situation, then you REALLY need to run a
split database, as ms-access does not reliably work with multiple users if
you do not split (and, since you are splitting..then each users should get a
mde for the FE).

You can read up on splitting here:
http://www.granite.ab.ca/access/splitapp.htm
 
S

Sascha Hennig

Thanks for your detailed answer. You are right in the things you've said,
but you do not hit the point i mean.
If someone develop an apllication in, let us say java, there are many
objects, packages, classes, may be jsp's and so on. The application is
getting big and there are working a few people on it - not only one. To this
purpose there are "version control systems" to guarantee that not two person
work at the same object ore when, that the changes are merged (but this is
not a good thing at all). Working in a team to develop an application is not
conceivable without such a mechanism. And developing an big application is
not feasible without simulaneous development - if only one could develop it
would take a very long time! In an garage also not only one person at a time
works at a car?
To split an active application that is allready used from a development
version and make stepwise releases - this is necessary. No question. But how
could a new great version developed in a team, without timesharing? Is there
a cvs for access, which makes it possible to handle the objects (table,
forms, queries, ...) and to check out them for one developer?
 
A

Albert D. Kallal

To split an active application that is allready used from a development
version and make stepwise releases - this is necessary. No question. But
how could a new great version developed in a team, without timesharing? Is
there a cvs for access, which makes it possible to handle the objects
(table, forms, queries, ...) and to check out them for one developer?

Ok...just wanted you to be sure at least of the split concept.

You don't see a lot of team development with ms-access.

However, yes...visual source safe 6.0 (source code control) does work with
ms-access.

You can get the plug in for a2003 here:

http://msdn.microsoft.com/office/understanding/access/
 
S

Sascha Hennig

Thank you very much!
This is what i'm searching for. We allready work with visual source safe 6.0
and after a few trials, the plug in works fine.
 
L

Linda Fawcett

Hi,

We are trying todo the same here. Our problem is that when we open the
database on the second work station it tells us that the database is open
exclusively on the first work station. In Access the advance option is set
to Default Open Mode Shared. What are we missing to get this to work.

We are using all the same versions and have installed the plug ins we also
understand the split concepts. The back end of our database is in SQL and we
are using Access 2003 to build our front end.

Any information would be greatly appreciated.

Thanks
Linda Fawcett
[email protected]
 
R

Rick Brandt

Linda said:
Hi,

We are trying todo the same here. Our problem is that when we open
the database on the second work station it tells us that the database
is open exclusively on the first work station. In Access the advance
option is set to Default Open Mode Shared. What are we missing to
get this to work.

We are using all the same versions and have installed the plug ins we
also understand the split concepts. The back end of our database is
in SQL and we are using Access 2003 to build our front end.

Any information would be greatly appreciated.

Access 97 was the last version that allowed multiple designers in the file
at the same time. Even though allowed it was generally not a good idea.
 
A

Albert D. Kallal

Linda Fawcett said:
Hi,

We are trying todo the same here.

Do you mean you are trying to get Visual Source Code control working? This
is
certainly a possible solution to allowing multiple developers to check in
code, and check out code.

Our problem is that when we open the
database on the second work station it tells us that the database is open
exclusively on the first work station.

Ok, then now you are NOT trying to get Visual Source Code control working.
Remember, VSS is a system that allows multiple developers to check out
code..work on the code during the day, and then check that code back in.
However, this is COMPLETE SEPARATE problem from that of allowing ONE
developer
to go in and change/modify the designs while the USERS work

The correct approach to solving this problem is to run a split database. In
fact, this is the standard approach that all good ms-access developers use.

If your developers have not reached the point of running a split database,
then they are no where near the need to start using the source code controls
available in visual studio.

Splitting will defiantly solve your problem of making changes, and
developing
new features while users work on the existing version. You can read about
splitting here:

http://www.granite.ab.ca/access/splitapp.htm
 
L

Linda Fawcett

Thank you for your reply.

Albert D. Kallal said:
Do you mean you are trying to get Visual Source Code control working? This
is
certainly a possible solution to allowing multiple developers to check in
code, and check out code.

Yes we have installed VSS and added our database to VSS.
Ok, then now you are NOT trying to get Visual Source Code control working.
Remember, VSS is a system that allows multiple developers to check out
code..work on the code during the day, and then check that code back in.
However, this is COMPLETE SEPARATE problem from that of allowing ONE
developer
to go in and change/modify the designs while the USERS work

This database is in development it is not in production. No USERS have
access to this database only two developers.
The correct approach to solving this problem is to run a split database. In
fact, this is the standard approach that all good ms-access developers use.

The tables are created in MSSQL 2000 we are only using access as a front
end. We use it to develop forms and reports for our database. One
programmer works on forms and queries while the other works on reports and
queries this is why we need to use VSS so we can open the mdb simultaneously.
If your developers have not reached the point of running a split database,
then they are no where near the need to start using the source code controls
available in visual studio.

Splitting will defiantly solve your problem of making changes, and
developing
new features while users work on the existing version. You can read about
splitting here:

All our databases in production that do not have an SQL back end are split.
Splitting a database will allow one developer to work on the data while the
other one works on forms, queries, reports etc.

Maybe I should be asking if there is documentation on setting up VSS with MS
Access. We seem to have done something wrong as it will not allow two
developers to check in and check out forms it keeps saying the database is
open exclusively when open with VSS.
 
L

Linda Fawcett

Thanks again for the info.

We always install a copy of the database on each workstation however we use
an .mdb and the worstation has a copy of the Access Runtime software, the
worstation does not run a full version of MS Access.

We also keep a copy of the .mdb on a development server we make all our
changes there we test and then copy the .mdb to a production server and to
each user workstations.

We have installed SP 6.0 for VSS 6.0 and we did get the add in from here.
We will continue to try but at this time we cannot seem to make it work. I
did use this method of programmer before with Access 97 and VSS. If anyone
ever gets this to work I would love to know how they did it.

Many Thanks.
Linda Fawcett
 
A

Albert D. Kallal

The tables are created in MSSQL 2000 we are only using access as a front
end. We use it to develop forms and reports for our database. One
programmer works on forms and queries while the other works on reports and
queries this is why we need to use VSS so we can open the mdb
simultaneously.

Ah, ok, then in fact you *DO* want more then one developer to be able to
work
on this system. Note that even when using sql server for the back end data,
you STILL must give EACH USER and EACH workstation MUST get a copy of the
front end (we are talking strictly about users here...not developers). This
front end is thus placed on EACH pc. Further, that FE should
be a mde. Hence, I was just pointing out that at least with a split system,
and the fact *any* competent developer knows that each workstation gets a
copy
of the system, then a developer is free to work on the development copy.
However, up to this point, I used the word "developer" and not developerS.
All our databases in production that do not have an SQL back end are
split.
Splitting a database will allow one developer to work on the data while
the
other one works on forms, queries, reports etc.

Yes, the above makes sense. As mentioned, since each workstation gets a copy
(preferably a mde), then you are free to develop and work on the forms/code
side. However, for more then one developer..you most certainly need VSS.
Maybe I should be asking if there is documentation on setting up VSS with
MS
Access. We seem to have done something wrong as it will not allow two
developers to check in and check out forms it keeps saying the database is
open exclusively when open with VSS.

Hum, perhaps do a Google on this for the newsgroups. I recall a recent
thread, and the solution was to install some updates to VSS.
(you MUST install SP6 for VSS 6.0).

And, you got the VSS add in for a2003...here?

http://www.microsoft.com/downloads/...f4-a916-48c5-8f84-44b91fa774bc&DisplayLang=en

Try both of the above.
 
Top