Create Login Form Access Database Part 1

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 330

  • @Ronaldo9Mr
    @Ronaldo9Mr 6 лет назад

    Thanks God...at last!!! Hi Tewan.......I am your new subscriber.....that's I am searching for so long....You've discribed the best for this part...I love that!!! Thumbs up & subs... :-)

  • @siraatsoft1241
    @siraatsoft1241 5 лет назад

    Excellent and very knowledgeable Video Bro. Thanks

  • @danielarauzplatas861
    @danielarauzplatas861 8 лет назад

    Thanks to teach, you are a good teacher Austin

  • @jaikushwaha12
    @jaikushwaha12 9 лет назад +6

    can you give me the tutorial for how to split database and install it on more than one computer for real time working online...
    please

  • @brightk.seshie8445
    @brightk.seshie8445 10 лет назад

    very nice platform...am enjoying the comments...Austin may God richly bless you...

  • @KulachiTV-d3j
    @KulachiTV-d3j 5 лет назад

    Thank you for sharing informative videos

  • @diggerson88
    @diggerson88 2 года назад

    After only a few minutes, I like you. Thanks for your help!

  • @ictcentrepersonnel855
    @ictcentrepersonnel855 8 лет назад

    Thank you very Much you have assisted me alot i followed you step by step and the job was very okay

  • @jiggityjbeaver
    @jiggityjbeaver 7 лет назад +2

    Even at 2x speed, this video crawls. However, you sound hilarious at the faster speed. It's otherwise very informative and easy to follow. A+++

  • @kurtgilchrist8833
    @kurtgilchrist8833 9 лет назад +1

    hey thanks watching this video help me out alot with my current project i am working on in Access. After being familiarized with MS Access i found quite an interest in learning to be MS Access developer. I would like to know where i can get online training or is it possible that i can email you for more information.

  • @ericn5836
    @ericn5836 9 лет назад +1

    Thanks for the tutorial Tewan! This was very good.

  • @md.roknujjaman2939
    @md.roknujjaman2939 9 лет назад

    Fine. This content is very excellent. I miss how post this in the site. Thanks a lot..

  • @desmondwhitt2987
    @desmondwhitt2987 6 лет назад

    Great video. I was able to follow along and this was very helpful.

  • @abasia25
    @abasia25 8 лет назад

    Thumb Up **** It help me a lot & it works perfect >> Just question, am trying to do security privilege acces level user - who open what- do you got any video for that. Kind regards

    • @austin72406
      @austin72406  8 лет назад

      I have 3 videos starting with video #1 here: ruclips.net/video/gAKmPnAnXSM/видео.html

    • @abasia25
      @abasia25 8 лет назад

      Great thanks alot

    • @lilinbl7992
      @lilinbl7992 8 лет назад

      hye can you help me it does'nt work for me

  • @akosuaboateng2745
    @akosuaboateng2745 5 лет назад

    It was very helpful. Thank you

  • @peachesdaniel9887
    @peachesdaniel9887 3 года назад

    By far the best video I have seen thus far of this kind on youtube! It actually works! Very helpful.

  • @mbitjitauaetuiihe8466
    @mbitjitauaetuiihe8466 6 лет назад

    Sir I tried following each and every code but I have a problem here : I am getting a compiled error, where instead after [UserName]", "tblemployees","[UserName]" = ' " ( the compile error is coming from there, it doesn't want to link to the employees table with ' " instead it will only allow " ' " instead of the one you used) I need help please.

  • @smorisch
    @smorisch 7 лет назад

    As always, Tewan Great video. Thank you so much ;)

  • @CDailey25
    @CDailey25 8 лет назад

    Great tutorial. Mine hadn't worked at all - where the confusion came in for me was the naming conventions. In the tutorial for example for the job process:
    TUTORIAL: If (IsNull(DLookup("UserLogin", >>>> "tblUser"

    • @austin72406
      @austin72406  8 лет назад

      The code needs to match with your table or fieldname in your table. The VB under the event procedure is only the structure of how the code works.

  • @GimmeMoreTVs
    @GimmeMoreTVs 11 лет назад

    Why don't you put UserLogin and Password into a single DLookup call?
    For example:
    DLookup("UserLogin", "tblUser", "UserLogin = '" & Me.txtLoginID.Value & "' AND Password = '" & Me.txtPassword.Value & "'")

    • @austin72406
      @austin72406  11 лет назад

      That would work too. Thank you for suggestion.

    • @maxime-hnctt
      @maxime-hnctt 11 лет назад

      Yes! And by the way it's more safety because it doesn't authorize to validate a Login with another existing password like it's the case with two different "LookUp()".
      Thanks for the video austin!

    • @austin72406
      @austin72406  10 лет назад

      Duc, you are the man. my code with two DLookup have bug. using your code with one Dlookup and using And to combine userLoginID and Password to fix problem about login. Thanks Duc.

  • @emmelinechannel9991
    @emmelinechannel9991 8 лет назад +2

    Nice video. Please note, though, that the code you set up would work for any combination of a valid user + valid password, not for a specific one. In other words, if you correctly guess the username in row 1 of the user/password table, then typing in the correct password for user 4 would suffice.

    • @austin72406
      @austin72406  8 лет назад +1

      thank you for pointing it out. I have correct it on the 3 or 4th part of my video.

    • @allokrey
      @allokrey 8 лет назад

      How did you do it

  • @rizwhite7120
    @rizwhite7120 9 лет назад

    Hi Austin your videos are helpful. Thank you so much. But I need to ask...
    1. Can I create reset-able password, if it is possible can u provide the vba or maybe tutorial vids would help?
    2. Can user's login form (page) add in with histories and activities of the users?

  • @bardrama1877
    @bardrama1877 10 лет назад +1

    Great tutorial. Thank you!

  • @husseinfarah4452
    @husseinfarah4452 7 лет назад

    Hello Austin, how to hide some fields i data sheet form even the fields setting is visible ... for example employees list form in Northwind 2007 sample data base

    • @austin72406
      @austin72406  7 лет назад

      you can set the column width = 0 when form is load (On Load event).
      for example,
      Private Sub Form_Load()
      Me.FieldName.ColumnWidth = 0
      End Sub

    • @husseinfarah4452
      @husseinfarah4452 7 лет назад

      Thank you

  • @sabrinabrowncarib
    @sabrinabrowncarib 10 лет назад +1

    Austin I followed your code however the compiler gives an error and highlights the set focus this is the code can you please explain what is wrong
    If IsNull(Me.txtUsername) Then
    MsgBox "Please enter Username ", vbInformation, "Login Required"
    Me.SetFocus
    ElseIf IsNull(Me.txtPassword) Then
    MsgBox "Please enter Password ", vbInformation, "Password Required"
    Me.SetFocus

    • @xzktplm
      @xzktplm 10 лет назад

      «SetFocus» event only applies to controls and «Me» represents your form. So, you should replace:
      Me.SetFocus
      by
      Me.control_to_receive_the_focus.SetFocus
      Ex:
      Me.Text1.SetFocus

    • @sabrinabrowncarib
      @sabrinabrowncarib 10 лет назад

      i tried that it still highlight setfocus saying unidentified method

    • @xzktplm
      @xzktplm 10 лет назад

      sabrina brown
      Please, paste here all your procedure. Maybe then I can identify what's wrong.

    • @sabrinabrowncarib
      @sabrinabrowncarib 10 лет назад

      xzktplm
      here's the code
      Private Sub Command1_Click()
      If IsNull(Me.txtUsername) Then
      MsgBox "Please enter Username ", vbInformation, "Login Required"
      Me.txtUsername.SetFocus
      ElseIf IsNull(Me.TxtPassword) Then
      MsgBox "Please enter Password ", vbInformation, "Password Required"
      Me.txtPassword.SetFocus
      If IsNull(DLookup("[Username]", "tblUser", "[Username] ='" & Me.txtUsername.Value & "' And password = '" & Me.TxtPassword.Value & "'")) Then
      MsgBox "Incorrect Username or Password"
      Else
      'process the job
      End If
      End If
      End Sub

    • @xzktplm
      @xzktplm 10 лет назад

      sabrina brown I got no error message.
      What MS Access version are you working on? I'm working on MS Access 2010 and everything is ok, despite the fact that this code displays unnecessary message boxes. I would rather use this one below; it's more consistent. Note the fact that dots(.) where replaced by bangs(!) between form names and control names. If you still have error messages, post them here.
      Private Sub Command1_Click()
      If IsNull(Me!txtUsername) Then
      MsgBox "Please enter Username ", vbInformation, "Login"
      Me!txtUsername.SetFocus
      Exit Sub
      End If
      If IsNull(Me!txtPassword) Then
      MsgBox "Please enter Password ", vbInformation, "Login"
      Me!txtPassword.SetFocus
      Exit Sub
      End If
      If IsNull(DLookup("[Username]", "tblUser", "[Username] ='" & Me!txtUsername.Value & "' And [password] = '" & Me!txtPassword.Value & "'")) Then
      MsgBox "Incorrect Username or Password", vbCritical, "Login"
      Else
      End If
      End Sub

  • @shariqkhan8840
    @shariqkhan8840 8 лет назад

    I don't understand the part that why are we using if (is Null(Dlookup... shouldn't we be using if its not null than dlookup the values... sorry!! new to this and just not getting the concept to it

    • @austin72406
      @austin72406  8 лет назад

      IsNull is used for field on the current form. We need to use other functions to compare the entry data on current form to the data in the table. If both entered username and password are matching with the username and password in the User table. we need some functions to verify data in current form and in table. we can use DLookup, Dcount, or Recordset to compare data from two different sources. I used Dlookup. If the result is null (no match) then means incorrect username or password. you can use Dcount like IF DCount (.....) >0 then it means correct user name and password.

    • @shariqkhan8840
      @shariqkhan8840 8 лет назад

      Awesome! Make sense. Thanks.

  • @พิชญะชัยชนะ-ค6ต

    thanks for your knowledge

  • @jaikushwaha12
    @jaikushwaha12 9 лет назад

    can you also give me a tutorial of navigation form.... your tutorial are really very very helpful for me thank you....

  • @ronmartindale9189
    @ronmartindale9189 5 лет назад

    I followed the VBA code instructions in this tutorial but found that any password in the database would match with any logon name in the database. Any suggestions?

  • @tadgh123xx
    @tadgh123xx 9 лет назад

    cant get this to work at all, does that new code replace both d lookups or just the second one

  • @bernieisidro9053
    @bernieisidro9053 11 лет назад +2

    Why when i save my work, then close it.
    then after i reopen it!!! its not working anymore!!!
    PLEASE HELP HELP ME!!!

    • @austin72406
      @austin72406  11 лет назад +1

      Hello, seem like you have same issue on different functions. It looks like the Access did not save your code. If you update Access on the Network and already opened by someone else then code is not saved after you close it. If you don't have a Write permission on the network or folder on network then Access does not save your code.

    • @861joshua
      @861joshua 10 лет назад

      austin72406 hi im using access 2013 and when im at the part for incorrect password it keeps giving me incorrect password even though im typing in the correct password
      this is my current code:
      Private Sub Command12_Click()
      Dim UserLevel As Integer
      Dim TempPass As String
      Dim ID As Integer
      If IsNull(Me.txtUser) Then
      MsgBox "Please enter Username", vbInformation, "Username Required"
      Me.txtUser.SetFocus
      ElseIf IsNull(Me.txtpassword) Then
      MsgBox "Please enter password", vbInformation, "Password Required"
      Me.txtpassword.SetFocus
      Else
      'process the job
      If (IsNull(DLookup("[UserName]", "tblUser", "[UserName] ='" & Me.txtUser.Value & "' And Password = '" & Me.txtpassword.Value & "'"))) Then
      MsgBox "Incorrect Username or Password"
      Else
      'MsgBox "Welcome"
      DoCmd.Close acForm, "Login", acSaveNo
      DoCmd.OpenForm "Navigation Form"
      End If
      End If
      End Sub
      Please Help me im not sure wat im doing wrong

    • @xzktplm
      @xzktplm 10 лет назад

      861joshua What kind of characters are you using for the password? For instance, the «.» on the alphabetic keyboard is different from the «.» on the numeric keyboard.
      Furthermore, you can only use the property «Value» when a control has the focus. You should use «Me.txtUser» and «Me.txtpassword».

  • @neeleshnaik7457
    @neeleshnaik7457 8 лет назад

    how to add one more combo column for selecting companies in login form and open main form related to same company name database records.

  • @mayankgupta7546
    @mayankgupta7546 8 лет назад

    Please note, though, that the code you set up would work for any combination of a valid user + valid password, not for a specific one. It is looking user-id and password separately. Please provide a solution.

    • @austin72406
      @austin72406  8 лет назад

      I have corrected the final code on video part 3 or 4.

    • @mayankgupta7546
      @mayankgupta7546 8 лет назад

      austin72406
      Thanks Sir. I have founded the solution myself.

  • @iffahsya
    @iffahsya 11 лет назад

    It was very helpful. thanks for uploading :)

  • @charleshart5563
    @charleshart5563 10 лет назад

    Thank you Tewan this was very helpful and thank you on responding and keeping up with Debugging and Validation.
    Kudos!

  • @cwc5023
    @cwc5023 10 лет назад

    Austin,
    Is there a way to have the form that is being opened after a successful login to a record that pertains to the employee that just logged in by matching their ID key?

    • @austin72406
      @austin72406  10 лет назад

      It was instructed in the Part 4 of Create Login Form Access Database.

  • @alexhughes7617
    @alexhughes7617 10 лет назад

    Is there a way to get the Login ID and Password box to disappear automatically if the login details are successful and has gone onto the navigation form? As at the current time you have to press "cancel" or close the box. Thanks

    • @austin72406
      @austin72406  10 лет назад

      I think I have the code for closing login form after correct loginid and password verified. Put DoCmd.Close after the correct loginid and password verified.

  • @Tec20248
    @Tec20248 3 года назад

    Sir, pls upload videos regarding queries (Cross Query, Append Query etc)

  • @microsecure2612
    @microsecure2612 2 года назад

    if u can help me with this pls
    access database all fields shows as ( #Deleted )
    knowing that this form was perfectly working and this error happened suddenly

  • @worldtextile7342
    @worldtextile7342 10 лет назад +1

    This login form had problem, i found that you can use any password exit on the table to login with any user. for example you create a user name abc with password 1234 and user name DEF with pass word 3456, and then in this form you can login to the from with user abc, password 3456. and user name DEF can login with password 1234 or 3456.
    i see that we need to add some more code to make this form better.

    • @austin72406
      @austin72406  10 лет назад +1

      make sure you have code seting LoginID and Password under ONE Dlook up function. your code should be like this: If (IsNull(DLookup("LoginID", "tblworker", "LoginID = '" & Me.txtUserName.Value & "' And password = '" & Me.txtPassword.Value & "'"))) Then MsgBox "Invalid UserName or Password!" Else............................ end if
      I have corrected this issue on the video Part 3 and also answer under the comment section.

    • @worldtextile7342
      @worldtextile7342 10 лет назад

      austin72406 thanks! you're great. i love your video.

    • @worldtextile7342
      @worldtextile7342 10 лет назад

      Cong Nguy and one more thing, could you add some more code to realize the capital character and non capital for pass word? like H and h.
      thanks!

  • @labigbossssssssss
    @labigbossssssssss 8 лет назад

    Hello, for me it says syntax error on this line:
    if(isNull(dlookup("[Empleado_Login]","LOG IN","[LoginID] = '" & Me.txtLoginID.value & "'
    And password = '" & Me.txtPassword.value & "'"))) Then
    what is wrong with it? (btw im making it in spanish so thats why instead of userID i used Empleado_login)

    • @austin72406
      @austin72406  8 лет назад

      UserID field is the primary key field on User table. you should to lookup for the primary key field on the LOG IN table. If the Empleado_Login is the primary key then change "LOG IN" to "[LOG IN]"

  • @estu548
    @estu548 10 лет назад +10

    I copied the corrected text and still get an error, did anyone get errors too?

  • @daniw2967
    @daniw2967 6 лет назад

    Thank you so much ! This was so helpful thank you for your time towards helping us all out here. 🙌👍❤

  • @deanlangford5164
    @deanlangford5164 9 лет назад

    Hi, when i click close it says that quit access cannot be used via embedded macro?
    Also the rest of the code works but if i click save or reopen a previous database it wont work. the only way i get it to work is i import the table and forms into a new database each time. is there a fix for this?
    Other than that the code works a treat!!

    • @austin72406
      @austin72406  9 лет назад

      This is a problem for MS Access. each version is not compatible regarding macro or feather.

  • @jaikushwaha12
    @jaikushwaha12 9 лет назад

    will it also work, if i will use my database on different computer after splitting database ???

  • @melissabrosnan32
    @melissabrosnan32 5 лет назад

    I viewed the video and followed the as instructed but when I closed the MS Access and open it again a dialogue box pops that reads," The form name 1-Login is misspelled or doesn't exist." Can someone assist.

  • @johannesapfelbacher2660
    @johannesapfelbacher2660 3 года назад

    How do you manage to open the record of the user which is logging in? I would like the form to open the record showing the main data of the user, wich is in another schedule as the user data is. And my second question is how can I make certain fields invisible for users and leave visible to admins? Thank you very much for your support! I do not use the navigation form.

    • @michaelvillanueva2375
      @michaelvillanueva2375 3 года назад +1

      You need to create access level for every user, say: administrator, operator and guest.

    • @johannesapfelbacher2660
      @johannesapfelbacher2660 3 года назад

      @@michaelvillanueva2375 , Thank you for your help. Meanwhile I found a solution to implement all of my necessary features to the database.

  • @SDD6781
    @SDD6781 10 лет назад

    Dear Tewan, have you got the sample database that contain students information include their score. Or where I can find those example.
    Please help

    • @austin72406
      @austin72406  10 лет назад +1

      I'm working on it. about 90 % completed. I will upload as soon as it completed.

    • @sunkissedbaby3698
      @sunkissedbaby3698 10 лет назад

      OMG i need that too!! please please please!! -3- im begging you :3 its my final exam -_- im so fudge up!! just give me a tutorial and all T-T

    • @SDD6781
      @SDD6781 10 лет назад

      Oh thanks Tewan! I am waiting for that

    • @austin72406
      @austin72406  10 лет назад

      I just upload sample for student database at iaccessworld.com

    • @SDD6781
      @SDD6781 10 лет назад

      austin72406
      Thank you so much Tewan

  • @snpatel1900
    @snpatel1900 11 лет назад +1

    Thanks brother for replay to me...Thanks..Thanks...Thanks...
    If i will need any more help then will you help me ?

  • @SDD6781
    @SDD6781 10 лет назад

    Dear Tewan. Very helpful video, I have a problem with Cancel. When I click the Cancel I get the massage: "The 'Quite' macro action cannot run with the specified 'Option' argument either when in disabled mode or when called from an embedded marcro"
    Help me how to fix!!

    • @austin72406
      @austin72406  10 лет назад

      Cancel button is to Quit the Access file. it using macro as QuitAccess with Option Save all

  • @plaha2646
    @plaha2646 9 лет назад

    ive been trying to save a label but it wont work it resets every time i push the load button?? this is my script:
    load button:
    lbl_cash.Text = My.Settings.Savecash
    lbl_cps.Text = My.Settings.Savecps
    Save button:
    My.Settings.Savecash = lbl_cash.Text
    My.Settings.Savecps = lbl_cps.Text

  • @shakeelkhawaja8162
    @shakeelkhawaja8162 6 лет назад

    Please tell me that how to generate 3 copies of receipt like (Bank copy, School copy, Student Copy) of one record on one page?

  • @byx9156
    @byx9156 10 лет назад

    How to create a lock/unlock button (on the design view of a form) to protect some specific text box, so that some users won't change that specific text box by accident when they are updating other text box in the same form?

    • @austin72406
      @austin72406  10 лет назад +1

      Use Me.YourFieldName.enabled = false

  • @namutenyafestus8600
    @namutenyafestus8600 4 года назад

    ny buttons are not responding when I saved and test the codes , help me with this..

  • @proberts1216
    @proberts1216 9 лет назад

    Hello Austin,
    I have tried the code and its update however, I keep getting the error. What does it mean when you get block if without end if?

    • @austin72406
      @austin72406  9 лет назад

      you are missing one End If. Please check the the number of End If to match with IF statement.

    • @proberts1216
      @proberts1216 9 лет назад

      Thanks, I figured it out

  • @albobal2
    @albobal2 10 лет назад

    Easy to understand, thanks!

  • @denvilledavis6255
    @denvilledavis6255 8 лет назад

    Good job on your work! I am creating a multi user login access database (i.e. admin n user). I want to use the login info entered by the user through the login form to give either an Admin or User access. I just need some help with the code. I already have the user and securitylevel tables.

  • @mohamedseda3735
    @mohamedseda3735 9 лет назад

    i stucked to the code with update and no errors but it is not working when try it

  • @senai.tsolution3035
    @senai.tsolution3035 4 года назад

    Yes i also had an error copy the same thing but still not working for the second user . please help me

  • @lauriellanos3610
    @lauriellanos3610 9 лет назад

    I followed your instructions on creating a Login Form in MS Access 2007-2013 and it worked just fine, but when I try and do the same thing in Access 2007-2010, nothing happens. What am I doing wrong?Thanks!

    • @austin72406
      @austin72406  9 лет назад

      Access has different feature for each version. I created it under the version 2010, it may not work with version 2007.

    • @lauriellanos3610
      @lauriellanos3610 9 лет назад

      +austin72406 Okay, do you know of any good tutorials I can use for 2007?

    • @lauriellanos3610
      @lauriellanos3610 9 лет назад

      My IT person says that I am using the 2010 version.

    • @austin72406
      @austin72406  9 лет назад

      some feature not working for 2007. what you can do is create form in your 2007 then using the VBA code from my video or website. VBA code is ok with any version.

    • @lauriellanos3610
      @lauriellanos3610 9 лет назад

      Okay, thanks. Is there anyway you could post a screen shot of the final code?

  • @lutaziamazum5595
    @lutaziamazum5595 9 лет назад

    How can i clear the password that stick to the log in form or password box when user are already successful enter the access but the password are still there so other can easily enter?

    • @austin72406
      @austin72406  9 лет назад

      you can make it Null me.txtpassword =null after code verify userid and password is correct before open navigation form or close the login form.

  • @hashimam2u
    @hashimam2u 10 лет назад

    Hi Austin,
    Thanks for the video and it is help me
    One thing I notice if you put password and disable everything then also people are accessing the database with simple shortcut key, ie Hold+double click then its is disable the password and able to view all the navigation pane and things. If you can help me to control the document in such a way

    • @austin72406
      @austin72406  10 лет назад

      I have instructed that method on another video "How to set security or secure database" linke here @watch?v=3ZiqUVVnObY

    • @denbp3097
      @denbp3097 10 лет назад

      austin72406 it doesn't work mine.. i try so many time :'( can i text u through email?

  • @sadanandjaiswal1875
    @sadanandjaiswal1875 7 лет назад

    didnt work correct ....in my user table i have 2 user.. its didnt sence the correct userid or password.. as i have two user id
    1- userID=SADANAND and Pass=123456
    2-UserID=GORAKH and Pass=000000
    if i put userid as GORAKH and Password as 123456
    then it will open new form which i select i mean its didnt matter whis user or password will be used

  • @WaieHMHO
    @WaieHMHO 9 лет назад +1

    hi there! I really need your help.
    how can i make the username in the login form to be a case-sensitive?
    the login form just ignore any uppercases or lowercases and just accept the username
    is there any solution to this?

    • @austin72406
      @austin72406  9 лет назад +1

      there is related information on this link: support.microsoft.com/en-us/kb/209674
      and here: answers.microsoft.com/en-us/office/forum/office_2007-access/access-is-access-case-sensitive-with-regard-to/e4ffa621-6e93-48e0-935d-43229bdfab77?auth=1

  • @mohitluthra3646
    @mohitluthra3646 7 лет назад

    Thanks very much.. it helped. :)

  • @aniketbhardwaj3723
    @aniketbhardwaj3723 8 лет назад

    Hello Sir,
    i am making a website..And i also made login page and registration page..Will you tell me how will i create a database for it using ms database and how will i connect it to both login page and registration page..

    • @austin72406
      @austin72406  8 лет назад

      Sorry Aniket, I don't have much knowledge about website login database.

  • @snpatel1900
    @snpatel1900 11 лет назад

    Your explanation is very nice...really
    i am using the access 2013, all code works well up to validation of id and password.
    after that i got "type mismatch error" at the userlevel command ...
    Please help me, I tried many times but me not able to identify exactly problem.
    Is may possible incorrect data type of tables field...
    If you found then please send me whole code for this login form.....

    • @austin72406
      @austin72406  11 лет назад

      try on changing Dim ID As Integer to "Dim ID As String"

  • @alrashedalrashed237
    @alrashedalrashed237 8 лет назад

    hi austin i have some problem with the login form i made it first time and it works but now im doing your steps again but the thing it does't work

    • @BlackMesaEmployee
      @BlackMesaEmployee 8 лет назад

      Alrashed Alrashed you
      Might have a different version this time then the first time

  • @seraa12250
    @seraa12250 9 лет назад

    hi
    i need ur help plz..
    i want to declare a variable in a moudle but it always gives me an error...
    i want a value of textbox in one form to be used in other form
    i appreciate if you could help me on this problem

    • @austin72406
      @austin72406  9 лет назад

      you can use Tempvar. I have How To about Tempvar on my website:
      www.iaccessworld.com/how-to-set-temporary-value-tempvars/

    • @seraa12250
      @seraa12250 9 лет назад

      +austin72406
      thanks alot it works finally :)
      sorry i have another question
      now am working on (Question Bank) project using access..
      i have some problems i wonder if there is a way to contact with you :))
      God bless

  • @rebazrsb
    @rebazrsb 8 лет назад

    hello austin72406 I have a database but I need it works on computer A not B i want no one can use it without my permisson whats tha procedures , please help , with my regards

    • @austin72406
      @austin72406  8 лет назад

      you can use the Login Form with security setting for each user

    • @rebazrsb
      @rebazrsb 8 лет назад

      yes, you are right thanl you for your responce

  • @assamiyou
    @assamiyou 7 лет назад

    To be honest with you, anyone can get a hold of the users information in tblUser. so, from a security perspective, creating a login window in Ms Access is a useless undertaking. Do it for fun, not in a serious enviroment (a company for example)

    • @austin72406
      @austin72406  7 лет назад

      you are correct. it is the way how Microsoft created. Access is not a high secure program. It is for simple database with low security for non programmer background. You might need to hide the table and other menu to the user.

    • @assamiyou
      @assamiyou 7 лет назад

      using Win API to check the user login ID is better I think. and no need for the username-password thing

    • @SubodhYadav-yh1it
      @SubodhYadav-yh1it 7 лет назад

      Jonas Sami

  • @pshakti1
    @pshakti1 10 лет назад

    Hi,
    Once I execute the above code, I get a Runtime Error 2185. My password field is text field. Suggestion from Microsoft is that, I should set focus. Can you please guide.

  • @adiwirawan2128
    @adiwirawan2128 9 лет назад

    First time creating this login form with new database it works! But after i close it and re-open the database, it doesn't work at all. Nothing happens when i click the login or ok button. Can you help me with this problem ?

    • @austin72406
      @austin72406  9 лет назад

      please make sure your code is saved. please review it again.

    • @adiwirawan2128
      @adiwirawan2128 9 лет назад

      Of course i saved the codes before i close it.
      It happens every time i made a new database and re-open it. I am using Ms Access 2007. Is there any solution for this ?

  • @grantkidd4142
    @grantkidd4142 10 лет назад +1

    Please help
    I get the error message-
    Run-Time Error '3075':
    Syntax error (missing operator) in query expression '[UserLogin] ='MyName And Password ='MyPassword".
    Quoted word for word, no idea if that makes a difference.

    • @grantkidd4142
      @grantkidd4142 10 лет назад

      Solved it, if anyone else get's this issue you have messed up where you have put Speech marks and Apostrophe's. It's better to just copy what he has in the description and paste it into your code.

  • @joshmunro9568
    @joshmunro9568 5 лет назад

    I copied the code correctly but, when I type a correct username and use a password from any of the other user's logins I still get an correct message box. Is this happening to anyone else? Help!!!!

  • @miejesticmusic1140
    @miejesticmusic1140 8 лет назад +1

    i hope the codes was pasted in description .. HUHU my eyes but im trying hard here (thank you sir )

  • @amogelangmiya5633
    @amogelangmiya5633 8 лет назад +2

    cant you set it to accept only user1 with user1 password??

  • @hebaelkahlout8616
    @hebaelkahlout8616 8 лет назад

    I have a problem in If isnull the second one .. how to solve that

  • @almir5493
    @almir5493 7 лет назад

    Hello, anybody help me, have login form works perfectly but some how even before enter user name and password into pop up login form I am able to move database window (winch is under the login form) on another screen, and go to toolbar and make some changing. Is there something I can do to lock database window under the login form, and not being able to do anything before user name and password are correctly entered?

  • @LukaYuka1
    @LukaYuka1 9 лет назад

    Hey man, if you're still watching the comments I'd like to ask;
    I have 3 usernames and a password for each one, but when I log in with username A, I can log in with all 3 passwords even though I should not be able to do that.
    Person A, Password BBB
    Person B, Password GGG
    Person C, Password TTT
    and when I log in as person A, I can log in with writing BBB or GGG or TTT as the password and it will log me in...

    • @austin72406
      @austin72406  9 лет назад +1

      the code was corrected under the video part 3 like
      If (IsNull(DLookup("username", "tbl_login", "username='" & Me.txtusername.Value & "' And password='" & Me.txtpassword.Text & "'"))) Then
      Combining username and password under one DLookup

    • @LukaYuka1
      @LukaYuka1 9 лет назад

      +austin72406 thank you! sorry for not watching all the videos but I honestly did not notice "part 1" in the video so I didnt see other parts, was in a rush :) thanks again, doing a nice job

  • @lilinbl7992
    @lilinbl7992 8 лет назад

    thank's for the videos i learned lot of things but i have a probleme with the logi, part 1 ; even if i write the right login and right passwd when i clic on ok button the answare is " the password or userid is incorrect" please help thank u

  • @mohammadhashem6939
    @mohammadhashem6939 6 лет назад

    thank you very much it is useful

  • @math260879
    @math260879 8 лет назад

    Hello have windows XP. On the Top left I don´t have the Option file--> Info. can I encrypt my Access Database with password? and how can I do that?

    • @austin72406
      @austin72406  8 лет назад

      I should depends on the version of MS Office, not version of Windows.

  • @brianrazon1912
    @brianrazon1912 8 лет назад

    it accepts capital words but in the record it is not capital why and what should i do?

    • @austin72406
      @austin72406  8 лет назад

      please ready this article about case sensitive in Access.

    • @austin72406
      @austin72406  8 лет назад

      en.allexperts.com/q/Using-MS-Access-1440/Create-case-sensitive-password.htm

  • @noorbutt99
    @noorbutt99 5 лет назад

    Hello sir i copied each and every step but my OK button is not responding any thing. Please help me... and tell the solution

  • @ictcentrepersonnel855
    @ictcentrepersonnel855 8 лет назад

    I request you to show how to replace Access icon which is represented by letter "A"

  • @mohammadebrahimi7908
    @mohammadebrahimi7908 7 лет назад

    Hi Austin
    It works well but i just want to close the login form after the user log in to database
    !!!!!please help me

    • @austin72406
      @austin72406  7 лет назад

      you will need to close login form before opening another form.
      use : DoCmd.Close
      before open another form.

  • @SilentDragonfly1689
    @SilentDragonfly1689 9 лет назад

    **I hope these comments are still being monitored**
    I tried your code and I'm getting an error for the first "Me.txt..." I did everything like you did, only I changed "UserID" to "Login Name". It keeps telling me .txtLoginName cannot be found. Please help! This is my first time doing code in Access (I usually do macros).
    Thanks in advance (and thanks for the vids!)

    • @SilentDragonfly1689
      @SilentDragonfly1689 9 лет назад

      Michelle Carnahan
      I figured it out. I had already created my own before I watched this video, so I skipped the first part. When I couldn't figure out this error, I finally just started from the beginning and noticed you named the unbound boxes "txt..." All good now! XD
      Thanks for the vids!

  • @limling9162
    @limling9162 10 лет назад

    hi, i found out that we can close the login form by clicking on the cross button ... How could we solve it ? Urgent

  • @WritingTheActs
    @WritingTheActs 8 лет назад

    in both login form video and register video, you don't explain USERTYPE. How do you set that up??

    • @WritingTheActs
      @WritingTheActs 8 лет назад

      Or user security???

    • @austin72406
      @austin72406  8 лет назад

      it depends on how to word it. on this video, it shows the user level as admin, user or guest. you can name it as user level or user type. each level has different access or right.

  • @dechii-384
    @dechii-384 9 лет назад

    I believe I've done what it says in the video. I've saved the code and when I open the form and test it, it provides an error messasge:
    Compile error:
    Method or data member not found
    Can you tell me what this means, and what I need to change?

  • @adoreshetu9785
    @adoreshetu9785 7 лет назад

    I'm getting error messages even when I enter the correct email or password.

  • @claire3639
    @claire3639 8 лет назад

    Hi Tewan,
    I love your videos.
    After copying this video however I get a compile error: wrong number of arguments or invalid property assignment.
    Please can you offer any help or advice

    • @austin72406
      @austin72406  8 лет назад

      it's hard to tell without seeing the code. can you put your code here?

  • @atelophob
    @atelophob 9 лет назад

    can you help me with this error
    Jet.OLEDB.4.0' provider is not registered on the local machine..
    i can't connect with database, windows 7x64 is my OS
    plssss

    • @austin72406
      @austin72406  9 лет назад

      maybe you need an update for MS Access

  • @francislapus8818
    @francislapus8818 10 лет назад

    Cong Nguy is also correct about the password bugs.

    • @austin72406
      @austin72406  10 лет назад

      I had put the comment/correction code earlier under this video comment section. Also the corrected code is showed under the video part 3

  • @yeido2755
    @yeido2755 10 лет назад

    I don't really get what you mean in the 2nd part of the description: user " and ' infront of And. Sorry for confusion. Is because using the code in the first part of the description does not completely work, gives me an error. Thanks very much for your atention, and really vids!

  • @ellyke9488
    @ellyke9488 8 лет назад

    yoo while am creating my command 1 the comp keeps telling me compile error and unexpected combination whatcouldbe the problem

    • @austin72406
      @austin72406  8 лет назад

      many things can cause an error. check line by line of your code

  • @rOOtIIn
    @rOOtIIn 6 лет назад

    Everybody that's having a problem with the login needs to change the Or to an And.

  • @kridpongsatorn
    @kridpongsatorn 5 лет назад

    ตรงหัว form ทำให้แสดงเวลาปัจจุบัน อย่างไรครับ..?

  • @joshkeeble1035
    @joshkeeble1035 9 лет назад +1

    Run- time error '3463'
    Data type mismatch in criteria expression
    NEED HELP !!!