Password protect databases with Microsoft Access

Password protect databases with Microsoft Access

The Microsoft Office Access 2007 relational database manager enables information workers to quickly track and report information with ease thanks to its interactive design capabilities that do not require deep database knowledge. In this Microsoft Access video tutorial, you'll learn about creating a login form and password protecting your database.

Here's the code:

Username.SetFocus
If Username = "user1" And Password = "user1" Then
MsgBox "Access Granted", vbInformation, "CD Shop"
MsgBox "Welcome", vbInformation, "CD Shop"
DoCmd.Close
DoCmd.OpenForm "F_Switchboard"
Else
MsgBox "Please re-enter your Username and Password."
End If

For more information, including detailed instructions on how to implement the above code, watch this MS Access how-to.

Hosted by youtube.com
Creator's Site: www.youtube.com/user/Firchild
Curated By: rmansur

Comments

Add your comment:

PRANK WARS

WonderHowTo loves pranks. So, naturally we're big fans of College Humor, particularly Prank Wars. Prank Wars stars Amir and Streeter, best pals. Best pals that love to humiliate one another...to say ...

From Dying To Flying

Dean Potter, one of National Geographic's Ten Adventurers of the Year, set a world record for base jumping in 2009. Via NatGeo: "On a sunny afternoon in mid-August, Dean Potter stepped onto a ...

Ew. Livestream of Patient's Brain Being Sliced. Watch Now.

Neuroscience (live!) resumes its 50 hour slicing session 8:00 am PST this morning. According to Gizmodo, "Studying Henry Gustav Molaison, more commonly known as Patient H.M., and his memory ...

Pyro-Spirograph-Drawings

Rosemarie Fiore is badass. She makes art with pyrotechnics, amusement park rides, Atari, guns, and pinball machines. Though all of her work is cool, I have to say my favorite piece is Fiore's larger ...

Who Needs Jump Rope When You Have a Flexible Friend

Breakdancing. Acrobatics. Gymnastics. Human jump roping fits in all. And why not? It's frickin' awesome. (Image credit: Flickr user envycleopatra.)

loading...