MDE vs MDB - a few ??s

B

Bonnie

Hi there. Using A02 on XP. Not a prof-programmer, but self
taught Access fan. Have created/maintained MDB files in
multiuser environment and now have user level security
with some pretty good group permissions, I disable the
shift/bypass key, use custom toolbars, have a front
end/back end design, use event procedures and macros,
learning VB, so I feel they run pretty well. As I learn
new techniques and methods, I integrate them into my DB's
(most were created in A97). BUT, I do have one DB (highest
usage file) that does crash a few times a year with the
#Deleted problem. I've narrowed it down to this: first
person has a record open and goes to second person to
discuss the paperwork, the second person opens the same
record and thinking all is complete, appends the record to
an historical table, then the first person (with focus
still on that deleted/appended record) having returned to
their desk, makes an edit on the screen and then tries to
close the form. The record has been appended to another
table but where it should have been deleted from the
active table, it is now a row of #Deleted, #Deleted, etc.
fields and the forms lock up and there's a 'bad' record in
the table that must be addressed. Can only do that by
copying the structure (no data) and then appending all the
records before and after the 'bad' one. Delete old table
and rename new one, reset relationships, blah, blah. Whew!

Am trying to decide if MDE's would be more stable or less
likely to allow that to happen. Or is there a better way
to prevent the #Deleted problem?

I also have a module I like to open sometimes to see a
list of current users and that won't work in an MDE. What
would my alternative for that be in an MDE file so I can
still see a list of current users? Can I use a form to
display the results of the module?

Sorry to wax long. Would appreciate any help or advice.
Thanks in advance for any replies. (If it weren't for you
guys in the newsgroups, many folks like me would still be
floundering. You provide the learning gap so the steps in
the procedure manuals make better sense. Thanks alot.)
 
R

Roger Carlson

1) I don't think an MDE will be any more stable than an MDB in this regard.

2) If your code returns a recordset, you can certainly fill a form with it.
On the other hand, back in 1996, Mark Nally (I think) created a sample
called "WhosOn.mdb", which tells you who's in the database. I've got a copy
on my website, here:http://www.rogersaccesslibrary.com/misc/misc.htm

3) I don't know what to tell you about this problem. With record locking,
as long as the first person has a record open, the second should not be able
to delete it. Is the database "split", that is each person has a separate
front-end on their workstation with a common back-end on the server? Or
does everyone share the same file?


--
--Roger Carlson
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L


It's the 97 version, so you'll have to upgrade it.
 
B

Bonnie

Roger, thanks very much for your replies. I think I'll
stay with my MDB's. Less switching around. Then I don't
need to worry about my module. I have one master back end
DB with all my tables and a variety of front end
production DB's but there is just one of each in a shared
drive folder. So multiple users open one production DB
that has it's tables linked from the back end DB. I make
edits pretty frequently so a separate copy for each person
would be a chore. Do you think this is where the problem
lies though?

Also, on the #Deleted problem: The first person only has
focus, they haven't edited anything so when the second
person opens the record, neither one has the record locked
(yet). Person 2 deletes the record and then Person 1
returns to their desk and performs some sort of edit on
the record. They lock up their file/PC and the problem
begins.

Thanks again for being there for folks like me to quiz and
query you for help. I'll check back here to see if you
kept a thread going.
 
R

Roger Carlson

It is very possible that this is part of the problem. The topology you are
using is not uncommon, but the recommended one is to put each Front-End on
each workstation. This IS a problem when updating, but there are a variety
automated solutions available. I have one I used in the past called
"KeepingDatabasesInSync2.mdb" which notifies a user when changes to the
master application database have been made and downloads a new copy. You
can find it on my website.

Another good one that is referenced a lot is "Auto FE Updater" by Tony
Toews. You can find it here:
http://www.granite.ab.ca/access/downloadsindex.htm

--
--Roger Carlson
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

mdb looks and acts like mde 3
Recovery of .mdb file 8
Reverse Engineering MDE to MDB: how? 7
mdb vs mde 3
MDE and MDB 5
access mdb vs mde 2
setting up the printer in a mde 3
mdb and mde open in RunTime ? 1

Top