Set Permission Login Form in Microsoft Access

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 60

  • @RajanKUMAR-lv9cg
    @RajanKUMAR-lv9cg 29 днів тому +1

    Beyond expectation, well done! Thank you for your time and efforts to launch this video.

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  29 днів тому

      Thank you so much for watching and your comment is highly appreciated..

  • @Orandivictor
    @Orandivictor Рік тому +3

    This is wonderful brother. Always watching your videos from Africa Kenya 🎉

  • @عصبيهادي
    @عصبيهادي 2 місяці тому

    Thank you for the lesson , yoiu made it look easy. 🎉

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  2 місяці тому

      Thank you so much for watching this video and your comment is highly appreciated.

  • @Azheenyasin
    @Azheenyasin Рік тому +1

    It is amazing tutorial , thank you Eduardo

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  Рік тому

      Welcome

    • @murugana3013
      @murugana3013 9 місяців тому

      Private Sub Command5_Click()
      Dim INV As Integer
      Dim PRO As Integer
      Dim CUST As Integer
      Dim REP As Integer
      INV = Nz(DLookup("Invoicing", "User_Account", "Username='" & Me.txtUName & "'"), 0)
      PRO = Nz(DLookup("Product", "User_Account", "Username='" & Me.txtUName & "'"), 0)
      CUST = Nz(DLookup("Customer", "User_Account", "Username='" & Me.txtUName & "'"), 0)
      REP = Nz(DLookup("Report", "User_Account", "Username='" & Me.txtUName & "'"), 0)
      ' EXCUTION_____________________________________________________________________
      If IsNull(Me.txtUName) Then
      MsgBox "Please username!", vbCritical, "Denied"
      Me.txtUName.SetFocus

      ElseIf IsNull(Me.txtPassword) Then
      MsgBox "Please enter passowrd!", vbCritical, "Denied"
      Me.txtPassword.SetFocus

      Else
      If (IsNull(DLookup("Username", "User_Account", "Username='" & Me.txtUName & "'"))) Or _
      IsNull(DLookup("Password", "User_Account", "Password='" & Me.txtPassword & "'")) Then
      MsgBox "Pls enter correct user name aan passord", vbCritical, "Denied"
      Me.txtUName = ""
      Me.txtPassword = ""
      Me.txtUName.SetFocus

      Else
      If DLookup("Password", "User_Account", "Username='" & Me.txtUName & "'") Me.txtPassword Then
      MsgBox "Incorrect Username or Passwprd!", vbCritical, "Denied"
      Me.txtUName = ""
      Me.txtPassword = ""
      Me.txtUName.SetFocus

      Else
      If INV = -1 Or PRO = -1 Or CUST = -1 Or REP = -1 Then
      DoCmd.OpenForm "Navigation Form"

      If INV = -1 Then
      DoCmd.OpenForm "Navigation Form"
      Forms![Navigation Form]!INV.Enabled = True
      End If

      If PRO = -1 Then
      DoCmd.OpenForm "Navigation Form"
      Forms![Navigation Form]!PRO.Enabled = True
      End If

      If CUST = -1 Then
      DoCmd.OpenForm "Navigation Form"
      Forms![Navigation Form]!CUST.Enabled = True
      End If

      If REP = -1 Then
      DoCmd.OpenForm "Navigation Form"
      Forms![Navigation Form]!REP.Enabled = True
      End If


      Else
      MsgBox "You are no access" & vbCrLf & vbCrLf & _
      "Please contact murugan", vbInformation, "Denied"



      End If
      End If
      End If
      End If
      End Sub

  • @rufi4you
    @rufi4you Рік тому +3

    Hello Eduardo
    Thank you very much for your fabulous tutorial/video, I just rebuilt it.
    I have the following question/idea about login security.
    Anyone who accesses or gets access to the login table sees the passwords in clear text format.
    Masking the passwords with asterisks is not exactly secure and probably not an obstacle for people who are have gained access to tables
    Is there any way to encrypt the passwords before saving them?
    I think only with encryption can you effectively protect a system from password misuse.
    Of course, I am aware that with encryption the login and change password process must be adjusted.
    :-) After all, this could be a series of new instructive tutorial / video.
    Thanks a lot, I'm looking forward to your next videos!
    Dany, Switzerland❤

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  Рік тому +2

      Hi Danny! Thanks for watching my videos. You are right. Password that is stored in local table in ms access is not safe because if you connect it with excel, you can see the password.
      What i did, i created a USER ACCOUNT table in MYSQL then i link it ms access.
      If you want to access the link table using other applications, mysql or mssql will ask you for the password.

  • @Abdullah_Alhathloul
    @Abdullah_Alhathloul 7 місяців тому +1

    Very helpful, thanks a lot 🌹👏👏

  • @MardoqueoOyonoEsono
    @MardoqueoOyonoEsono Рік тому +1

    buenas tardes edcelle, me gustaria que hagas un tutorial dondo realizas todos los pasos para crea un LOGIN, desde el principioa hasta asingnar rolles y privilegios a los diferentes usuario que van a usar el sistema o la base de datos de ACCEES. LA VERDAD ES QUE TUS VIDIOS SON CHACHIS Y PRECIOSOS.

  • @Jojosmith342
    @Jojosmith342 Рік тому +1

    thumb up for the valuable tutorial. Already subscribed. I followed your instruction but received one error message that Forms![Navigation Form]!REP.Enable = true. Could you please kindly help? I have so many reports, qry, tables, modules. Thanks a lot. You're great teacher

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  Рік тому +1

      Thanks for subscribing this channel.
      Try to change ENABLE TO ENABLED.
      Make sure that controls (REP) is really exist.

    • @Jojosmith342
      @Jojosmith342 Рік тому +1

      @@EdcelleJohnGulfan Thanks for your quick help Edcelle, I will try it and see if it will remove the error message. Your code is always excellent with clear explanation. My DB grows with total of 144+ tables, forms, qry, macro, modules. I tried the horizontal way but it make the form squeeze and have to scroll down to view the entire form.
      Is there any way to connect the existing forms, reports, etc in the vertical Navigation Form? Ex: On Vertical Navigation, you will have the Tab: FORMS, REPORTS, ADMIN. Then once you click the FORMS tab you will see 50 Forms +. Under ADMIN tab - there will be 3 different groups of users: user will have access for data entry for certains forms, Managers will have access to Forms, Reports & Admin has all access? thanks a lot

  • @maryamalhashemy912
    @maryamalhashemy912 11 місяців тому +1

    Hello Eduardo
    Thank you for this wonderful video
    In my work, I need to create a login for employees. I implemented everything in the video that you explained. Everything worked well and I wrote all the codes that you wrote, but in navigation form the buttons all enabled for all users ( the permission is not work) and the code is not working in my database, I don't know what the error is in the code. I replayed the video several times and applied all the codes exactly.
    Can you help me please?
    Thanks

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  11 місяців тому

      Did you disable the Navigation buttons? You have to manually disable first.

    • @maryamalhashemy912
      @maryamalhashemy912 11 місяців тому +1

      @@EdcelleJohnGulfan
      No I didn’t, how I can fo that
      I am only follow the video

    • @maryamalhashemy912
      @maryamalhashemy912 11 місяців тому +1

      @@EdcelleJohnGulfan
      I knew how to disable the buttons. Thank you very much for your help and answer to my question

  • @DustyAnimations
    @DustyAnimations 10 місяців тому +1

    Bravo

  • @yiangli
    @yiangli 11 місяців тому +1

    thanks

  • @roshanfernandes4383
    @roshanfernandes4383 Рік тому +1

    Make Video of New user registration with user permission controls access
    Which you shown in demo video
    Also make video for Data Entry
    Thank you in Advance

  • @AmirSaleem-mu9vb
    @AmirSaleem-mu9vb Рік тому +1

    Good Work, Keep it up.

  • @Jojosmith342
    @Jojosmith342 Рік тому

    could you please kindly show us the table design how the fields named? thanks a lot

  • @governmentgirlsdegreecolle6627

    Kindly upload example file on drive and give us link .... thank you in advance

  • @HaziqFadhlillah
    @HaziqFadhlillah 7 місяців тому

    How you create the table for the checkbox? Hope you can help about it.

  • @ernestmokiwa4702
    @ernestmokiwa4702 Рік тому

    How did you link the login form with the navigation form..so that when you login, the navigation form should appear?

  • @ADITYA_SINGH1
    @ADITYA_SINGH1 Рік тому +1

    Excellent work sir but can u help me with a video on how to make a custom ribbon in access like northwind 2 database it will be a great help nobody in youtube has clearly explained it, one youtuber has explained it but works in old access by adding xml txt file in some kind of database system table but now that table doesn't exists

  • @bharatkhatri1987
    @bharatkhatri1987 Рік тому +1

    Wonderful piece of work...
    Pls do not forget to share code download link.
    Was looking for it since very long....
    Keep up the good work

  • @vincentcalmang4590
    @vincentcalmang4590 Рік тому

    Tutorial po Sana Kong paano I connect ang ms access sa SQL bilang back end. Thank you.

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  Рік тому +1

      Simple lang yan.
      Same concept lang nitong MYSQL.
      ua-cam.com/video/6T1TvSoD_UE/v-deo.html

  • @Rojin.Marzooki
    @Rojin.Marzooki 8 місяців тому

    Why You didnt teach how to design the form for the control as shown in the video picture

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  8 місяців тому

      Because its a simple data entry form and complex command. Don't worry, I'll create a video about this.

  • @i_am_hilal
    @i_am_hilal Рік тому

    Hi..How to Make Cascading Combo Boxes in MS Access without using forms?

  • @bharatkhatri1987
    @bharatkhatri1987 Рік тому +1

    Hi Dear,
    Pls share download link of code file.... i really need to make it for my software.
    Is is wonderful control tool.

    • @AustereShipping
      @AustereShipping Рік тому

      awaiting downlad link...dear

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  Рік тому

      Sorry but the the exercise file was already deleted.

    • @bharatkhatri1987
      @bharatkhatri1987 Рік тому

      So sad. ...
      Can you pls create and upload agIn... it will be great help.

    • @bharatkhatri1987
      @bharatkhatri1987 8 місяців тому

      Hi Dear
      Any good news... i need to create it... else will endup typing a lot...

  • @Rojin.Marzooki
    @Rojin.Marzooki 8 місяців тому

    What does it mean when you put ’ “ ..... Like username ’ “
    And dont understand the meaning of this part
    Username ’ “ & me.textusername & “ ’ “
    What is also “ ’ “
    Mean what?

    • @EdcelleJohnGulfan
      @EdcelleJohnGulfan  8 місяців тому +1

      Nice question.
      Here it is...
      If your Criteria is an Integer or a numeric field then remove the single quote.
      But if your criteria is a String then you need to add the single quote or another double quote.
      Sample: "Country="""& me.Country &"""")

  • @n2d2cool
    @n2d2cool Рік тому

    Auto run query in schedule date