Access 2007-2016
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  


Microsoft Access Forum
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

This forum is for the discussion of Microsoft Access.

Access is my personal specialty. Have questions? Comments? Want to discuss how to do something? Post it here. Also, I get a LOT of questions sent to me in Email from people around the world. I'll post the interesting ones in here. Feel free to comment on them.

Click Here To Subscribe to this forum and receive an email update whenever new posts are added, just scroll down to the bottom of this page and enter your email address in the comment form.

Permanent Link
Keywords: microsoft access forum
Post New Topic

Read Back to Security Seminar by Scott A @ 7/27/2012
I'm gonna send it to you, just havent had time. You can tear down at your leisure, and hey, if you make a seminar about it, ill give up the intellectual rights... haha!!!!

Reply from Richard Rost:

Sounds good. :)
Show Just This Thread        Post Reply
Read Back to Security Seminar by Scott Adkins @ 7/27/2012
Originally, I put in the login button, just like the seminar. I tried moving it everywhere, and nothing seemed to work.

I could also manually open the main menu form and create/detroy with the buttons, then if I close the main menu form, the login form would work like it is supposed to.

The only thing I wonder, is if it may have had something to do with the way the constants were intializing and when the recordsets run. I dunno....
I dont know about the folders, maybe there is still something there. It did the same from computer to computer though.

Reply from Richard Rost:

That's pretty strange. I'd have to tear apart your database to figure out exactly what the problem is (if only I had the time). But the important thing is that you've got it working.
Show Just This Thread        Post Reply
Read Back to Security Seminar by Scott A @ 7/27/2012
Boy I really hope someone knows the why of this!!????

Ok, to all that keep up with this forum, I have been having troubles getting table links to import from the encrypted database.

Thanks to those who offered suggestions, but I wanted to tell everyone what fixed it.

All the while, I could get the links with a command button, but not automatically with the code in the security seminar.

Because it worked there, I was sure the code was good.

Well, tonight on a whim, I put the code to create and delete the links in the login form.

Now it works perfectly! Can someone help me understand this??

Reply from Richard Rost:

That's very strange. Where did you have the code before? In global module? All I can think of is perhaps its a permissions problem.
Show Just This Thread        Post Reply
Read Security Seminar Password Problem by Scott Adkins @ 7/23/2012

Set DB=WS.OpenDatabase(Backend_Database,False, False, "MS Access;PWD= & Backend_Password)

Reply from Richard Rost:

I'm hoping it's this simple... but if you copied and pasted that line, you're missing a quote right after the PWD=

Set DB=WS.OpenDatabase(Backend_Database,False, False, "MS Access;PWD=" & Backend_Password)

Show Just This Thread        Post Reply
Read Security Seminar Password Problem by Scott Adkins @ 7/23/2012
No worries. I rebuilt like the first 5 lessons or so and did it again, and it did the same thing.

The weird thing is that it works just fine for the login part, It just asks for the password when creating the table links

Reply from Richard Rost:

Are you including the password in the VB command to link the table?
Show Just This Thread        Post Reply
Read Security Seminar Password Problem by Scott A @ 7/23/2012
Richard, I would be happy to send this thing to you if you wanna tear into it.

Reply from Richard Rost:

I'm crazy busy this week, so I probably won't have time to look at it until AT LEAST this weekend. If you want to submit if, instructions are on the TechHelp page.
Show Just This Thread        Post Reply
Read Security Seminar Password Problem by Scott A @ 7/21/2012
i hadnt put it out yet. So it was only one 1 machine with 1 user before this all started
Show Just This Thread        Post Reply
Read Security Seminar Password Problem by Scott A @ 7/21/2012
Sorry if I am whining, but I have come a problem, and there seems to be no help out there.

To start, I did the Access security seminar in its entirety. I did it on 2010.

So using the techniques, I built my own database (and even that worked for a little while.)

Then it started prompting for a password when creating the table links for the back end (as opposed to getting them automatically from the Global variable.)

After hours of research, and weeding though tons of gibberish and registry editors, I couldnt find a solution to this problem. I took the password off the backend database and it works fine.

I put the password back on and I got the error Encrypting with a block cipher is incompatible with row level locking. Row level locking will be ignored.

Now I dont know what row level locking is, and it would appear that access doesnt either, because the only thing I can find has to do with record-level locking (which honestly I am not sure what that is either.)

So my next paper-thin lead was that it may have something to do with folder permissions. I tried every file sharing technique I could dream up, and nothing worked.

Finally, out of shear desperation, i created a new user account on my computer, and started from scratch with the seminar (very useful I might add, because Richard is a phenomenal teacher!) However, this problem is still here, and I am dying to hear any new suggestions anyone might have. And sorry again for the rant, I am just that frustrated.

I did forget to add that I have a 32 bit vista machine and I moved the DB onto that with the same result/

Reply from Richard Rost:

That's very interesting. Yes, "row-level" and "record-level" locking are the same thing. Does everyone who has access to the database have full READ/WRITE permission to that folder? Are you using mapped drive letters or UNC paths like //SERVER/DATA/?
Show Just This Thread        Post Reply
Read Security Seminar question 2 by Donald Wright @ 6/12/2011
Probably a dumb question.  I have been putting a database for work, on my home computer.  I'm working through the security seminar/splitting the database, etc.  Can I take the Front end/backend and install in the appropriate folders without issue?  Or should I split it at work, create the table links etc.

Reply from Richard Rost:

You shouldn't have any problems splitting it as long as the back-end is going to be in the same location on both computers. I would set up a mapped drive (like H:) that will be the same on both PCs. Then when the database goes to reconnect, it will find the proper file.
Show Just This Thread        Post Reply
Read Security Seminar question by Donald Wright @ 6/12/2011
I am on lesson #25, Admin User Combo.  I've watched it twice now and it's not behaving well.  When I reach the point where we have removed the bugs, I log in as you, the main menu opens with all buttons visible, as they should.
But when I use the txtUserID combo to select another nonadmin user (eg Joe) nothing happens.  There is nothing in the build event that refreshes/updates anything.  Can you point me in the right direction?

Show Just This Thread        Post Reply
Read security seminar by Don Wright @ 5/22/2011
I already have an employees table in my database with basic info like FName,LName, Active?, who they report to, etc.  But only 6-8 will have access rights to this data base.

Is it bad/good to add username/password fields to this existing table?  Or better to create a "UserT" to add/delete users as needed?

Thank you,

Reply from Richard Rost:

If you've got a LOT of employees and only a few of them will use the database, I'd make a separate table. But realistically, it doesn't make much of a difference.
Show Just This Thread        Post Reply
Read Access Security Seminar question by Don Wright @ 3/24/2011
I figured it was time to ask a stupid question.
I'm about 4 lessons into the Security seminar and I was wondering: I already have an EmployeeT with a FirstName, LastName and other fields.  Would it be acceptable to add the UserName & Password fields to EmployeeT?  Or would it be best to keep it all seperate?
I plan on completing the seminar before applying your techniques, but I can't help thinking about how I'll implement each phase as I hear about it.

Reply from Richard Rost:

That would be fine. I have a separate user table because not every employee would be a user of the database in a big company... but whatever works for you is fine.
Show Just This Thread        Post Reply
Read Access Database Security Seminar by Paula @ 11/4/2010
Richard, I must say that your Security Seminar is the best instructional seminar I've seen! I've gone through about 60-70% of it and then developed the features in a financial app that's been in use for 6 months. It's been working very well for the Users.  THANK YOU!

Reply from Richard Rost:

You're very welcome.
Show Just This Thread        Post Reply
Read Access Database Security Seminar by Robert Lilly @ 11/4/2010
Access Database Security Seminar, Lesson Two, Logon Form.

When you start the program, the Logon Form is displayed, typing anything into the Username Box, and then clicking on the Login Box, will cause the Message Box to display “Invalid Logon”. Clicking on the “OK” button will close the LogonF and then you have unrestricted access to the program. Is there anything I can add to the VBA code to resolve this problem?

Reply from Richard Rost:

If you're only on lesson two, keep watching. I cover this in future lessons. By the time you're done with the seminar, your whole database will be locked down.
Show Just This Thread        Post Reply
Read Security Seminar by Robert Lilly @ 12/25/2009
Office 2007, with the latest service pack 2.
Show Just This Thread        Post Reply
Read Security Seminar by Richard Rost @ 12/25/2009
Boy, I don't know. I just tested it myself - copied it to the H: drive on my computer (which is just another drive letter) and it works fine. What version of Access?
Show Just This Thread        Post Reply
Read Security Seminar by Robert Lilly @ 12/25/2009
Hi Richard:
I don't have a server, it's just another drive on the same computer like C:\ D:\ etc. I get the same problem when I try to copy the database to another computer.

Thanks for replying on X-Mas day. That's what I call dedication.

Bob Lilly
Show Just This Thread        Post Reply
Read Security Seminar by Richard Rost @ 12/25/2009
There isn't anything that I can think of, Bob. What kind of a server is your N drive?
Show Just This Thread        Post Reply
Read Security Seminar by Richard Rost @ 12/25/2009
Robert, I'm not sure what the problem could be. I've run the code from the seminar on several different machines, and a LOT of people have taken this seminar without reporting problems like this. Did you make sure you have the latest MS Office Service Pack on both machines?
Show Just This Thread        Post Reply
Read Security Seminar by Robert Lilly @ 12/24/2009
Hi Richard:
Nothing, that I have done works. So I have gone back to the original files that I downloaded from your website database. I opened your Service.Accdb file and went to the Global Module changing the code to read as follows “BE_DATABASE = "D:\Lotus\work\approach\Service-TABLES.accdb". I then went to the Access options and changed the Display Form options to “LogonF”. I saved the database and reloaded it put in the password Richard- 123 and the program ran fine, with no problems.
Now as a test,  after changing the Global Module again to show the new location I moved the Service.accdb file to the “N” Drive, and then reloaded the program again.  The Logon Form came up and I typed in “Richard and 123”. I clicked on the Enter Key, Logon and the Exit button, nothing happened.  I have added nothing to your programs other than those changes described above.
I even tried to transfer it to another computer with the same results. I changed the Global Module to reflect the new location on the other computer and got the same results.
Could it be that there is something imbedded in your program that is not letting me export the database?
Thanks for your help
Merry Christmas and a Happy New Year to you and your family.
The old guy with the memory problem.
Bob Lilly
Show Just This Thread        Post Reply
Read Security Seminar by Robert Lilly @ 12/21/2009
Hi Richard:
I’m still having a problem with the Security Seminar.  In frustration I started from the beginning and at each step I would save the database, then transfer it to my other computer. At each step I was able to run the program from the alternate location and it worked fine.
The problem showed after completing lesson five. When I added the Global Module the program worked fine on the computer I was working on. But when I transferred it to another computer, it failed.
On the alternate machine, the Logon Form would be displayed. When I typed the name and password nothing would happen. I clicked on the Enter key, Logon and Exit button with no response.  When I clicked on the X in the upper right corner the Logon Form would disappear and then I could access the program and everything worked fine.
I have gone so far as to copy the code from your sample database and still have the problem.
What am I doing wrong??
Bob Lilly
Show Just This Thread        Post Reply
Read Security Seminar by Richard Rost @ 12/20/2009
Robert, didn't I cover this in lesson 29 where we dynamically create a link to the tables? This supplies the table password when creating the link. If not, let me know.
Show Just This Thread        Post Reply
Read Security Seminar by Robert Lilly @ 12/16/2009
Hi Richard:
I seem to have reached a paradox. Having followed your instructions in your Security Seminar/26 and 307/5 courses, which deal with splitting the database. When I load the frontend, the program starts, I put in the name and password and everything runs fine.  I can run the backend with no problems as well.
Now when I password the backend, and then try to load the frontend, it ask for its password, after entering it, I get the following message Microsoft Visual Basic - Run-time error’3031’: Not a valid password.
What I think is happening is the frontend is trying to reach the tables in the backend, but can’t because it does not have access to the password that is stored in the backend.
I have updated the Global Modal to reflect the location of the backend as follows: D:\Lotus\works\approach\MRC_be.accdb. The MRC.accdb is in this location also. (Yes a carryover from my Lotus days.)
Another problem I’m having is when I copy the two working files to a flash drive or burn a disk, they won’t run from either of those locations.  It starts up, but nothing happens after entering the name and password. When clicking on the Login or Exit buttons it does nothing. Clicking on the X returns you to the desktop.
To my fellow students take Richards’s advice, Backup, Backup and Backup again. If you don’t at some point or time you will regret it. As I have learned.
Thanks for your help.
Robert Lilly

Show Just This Thread        Post Reply
Read New Access Security Seminar by Richard Rost @ 10/20/2009
The new Access Security Seminar is finished. It's just over seven hours long and covers just about everything you've ever wanted to know about building secure Access databases.

The videos are online, both in the Amicron Theater and the download section.

The main outline for the seminar is finished, although I haven't updated all of the other areas of the Web site that I need to yet (like I haven't set up the Interactive Forums for the class or uploaded the sample database files to the web yet) I'll finish these things tomorrow.

I've prepared two videos to show you a preview of exactly what's covered in this seminar, and a step-by-step walk-through of all of the lessons.

But, if you are itching to get a head start on this seminar, you can order it now and download it immediately. Enjoy!
Show Just This Thread        Post Reply

Collapse All Topics


Post Your Comments or Subscribe
    If you would like to be notified of new posts on this forum,
    just enter your email address below. It will be kept private.
If you just want to subscribe to get email updates when this forum is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
  Your Name:  Required
  Your Email:  NOT Public


Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 6+7:
  Notify me when the this forum is updated
  Remember Me for my next comments
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard



You may want to read these articles from the 599CD News:

11/20/2018Microsoft Access Developer 12
8/25/2018NEW: Access Dev 9, 10, 11
8/25/2018Microsoft Access Developer 11
8/25/2018Microsoft Access Developer 10
8/25/2018Microsoft Access Developer 9
8/23/2018Access Dev 11 is ONLINE
8/17/2018Access Dev 10 is ONLINE
8/15/2018Access Tip: Search Form
8/15/2018Access Tip: Locked v. Enabled
8/15/2018Access Dev 9 is ONLINE

Visual Basicindex
Account Login
Online Theater
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
About Us
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Gift CDs
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP