Skip to content
XREFS0 LogoXREFS0
Tutorials
About Us
Contact Us
Tutorials
Source Code
C#PHPVisual BasicPythonC/C++Microsoft AccessDelphi
Reverse Engineering
ToolsExplanations
E-Marketing
ToolsCoursesData Client
About UsContact Us
XREFS0

Tech tutorials, reverse engineering & source code — everything developers need in one place.

Quick Links

  • Home
  • About
  • Tutorials
  • Source Code
  • Reverse Engineering
  • E-Marketing

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • DMCA
  • Content Removal
  • Report Link
  • FAQ

Stay Connected

Subscribe for the latest tutorials and tools directly.

Join Telegram Channel

© 2026 XREFS0. All rights reserved

Made with ❤️ for Arab developers

  1. XREFS0
  2. Source Code
  3. Microsoft Access
  4. Simple Login using MS Access 2007
Project
2026-07-312,414

Simple Login using MS Access 2007

Hi. I'm sharing this simple Login Form which I created using MS Access. I hope this will help Access newbies to become more comfortable with the program. I'm sure there are a number of ways to do this...

Microsoft AccessDatabaseSource CodeFree

Simple Login using MS Access 2007

Hi.

I'm sharing this simple Login Form which I created using MS Access. I hope this will help Access newbies to become more comfortable with the program. I'm sure there are a number of ways to do this (perhaps much better than this) but I did what I could to make this simple and straight-forward.

I. Access Objects in this application:

A. Table:1. tblUsers - table for application users

B. Forms:1. frmLogin - start-up form  **User Name - Erick, Password - erick  **User Name - Billy , Password - billy

  1. frmMenu - opens when user supplies correct user and password at Login form

C. Module1. GVar - here is where I declared my Global variables 'strUser' and 'strRole'

II. Feature

frmLogin:Prompts if the User combobox and/or Password text box has no entryPrompts if the user types another name which isn't included in the listProgram closes when the user enters 3 consecutive wrong passwordLogin Form closes when correct password is supplied, greets the user, and opens the frmMenu.Sets the value of strUser and strRole global variables which shall be used throughout user session.

frmMenu:User name and role is displayedCommand button is enabled or disabled based on the value of strRole (enabled for 'Admin' and disabled for 'Encoder'

III. Tips for newbiesLearn and be more comfortable using the If... Then... Else  StatementLearn how to declare variables and variable scoping (Private, Public, Global)Dlookup function parameters and syntax

IV. Gotcha MomentDocmd.Close in frmLogin prompts and runtime error 2585 so be sure to include the On Error Handler line

Hope this helps...

Screenshots

Download Project

Download Simple Login using MS Access 2007
2.4K views
201 DOWNLOADS
FacebookTweet This
289
Back to Microsoft Access

Related Projects

ABC Video Rental's System

Hi there thank you for visiting this site. About this code I called it ABC Video Rentals System written in MS Access . It is a simple applications that will solve common problems in video rentals i...

2026-07-31

Access application for LPG Sales & Distributors, Stock Management

Access application for LPG Sales & Distributors, Billing with Invoice printing, with stock management, party wise, area wise, agent wise opening stock, closing stock. sales details etc specially prepa...

2026-07-31

Access RTGS, NEFT Bank forms, multiple company, Address Book

Access application for RTGS, NEFT Bank forms for Fund transfer from multiple company and different Banks as many as you want... === NEW =========== A simple application for preparing the Bank f...

2026-07-31