Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7186635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:40:22+00:00 2026-05-28T18:40:22+00:00

I have initial form logon to Validate user details to access my MS Access

  • 0

I have initial form logon to Validate user details to access my MS Access database.

Now I have a requirement in another form, If I choose same logon user from a combo box then command button should be enabled in the form so how I validate my initial logon user who logged in with another form Textbox in my access db.

So I researched about this but could not get the useful scenario – Can some please help me how I can acheive this details ..Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:40:22+00:00Added an answer on May 28, 2026 at 6:40 pm

    After the user completes her login, hide rather than close the login form. With the form hidden, code in your other form can still read values from the login form.

    To hide a form named frmLogin:

    DoCmd.OpenForm "frmLogin",acNormal,,,,acHidden
    

    or

    DoCmd.OpenForm "frmLogin",acNormal,WindowMode:=acHidden
    

    If the hidden frmLogin includes a text box named txtUserName, you can inspect its value like this:

    Debug.Print Forms!frmLogin!txtUserName
    

    I based this answer on the assumption you created your own security framework in your Access database application. But that point is unclear. If you’re using Access ULS (user level security), which requires the older MDB format database, the CurrentUser() function which Matt mentioned will give you the user’s Access security name. However, if that is the approach you’re using, I don’t understand why you would need a separate login form.

    So your question is unclear. If none of the answers is satisfactory, please edit your question to include an explanation of the security/login strategy you’re using.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have User form in which there is a username field. The fields in
I'm creating a login form that's loaded from a nib. I have several NSTextFields,
I'm using FMDB to create a SQLite database on iPhone. I have a initial.sql
I have a UIActionSheet that pops up as soon as the initial view in
I have a property in WCF service class with a initial value, as shown
I have a jboss web service that is getting the wrong initial context. I
I have a scientific application for which I want to input initial values at
i want to have a foreach loop where the initial array is changed inside
I have a page being loaded with jQuery. The initial load includes 100 records
How do I set the initial width of a QDockWidget? I have implemented the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.