Results 1 to 8 of 8
  1. #1
    CHEECO is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2016
    Posts
    156

    Case sensitive login

    I am using Security Levels 2012 as a login for a Database. It works well but it does not have case sensitive. I would like to add this to it if possible. Code that I can add to existing Module or to a new module. I am using access 2016. I have attached a copy of the file. I am also open to a new login database that has case sensitive if someone know of one and can direct me to it or attach to this post.



    Thank-you

    Cheeco
    Attached Files Attached Files

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Is this an interface to Quickbooks?(I found this only via Google).
    I recommend you give readers an overview of what you are talking about/trying to develop.

  3. #3
    CHEECO is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2016
    Posts
    156
    I have Security Levels 2012 for an MS access database. But it is not case sensitive and I am looking for the proper code to ad to a module that will make it case sensitive.

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    According to the below, there is a command StrComp and then you select a binary comparison.

    http://access-excel.tips/access-strc...ve-comparison/

    (Nice information provided in attachments!)

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    What exactly do you want "case sensitive"?
    Where exactly do you want to check for "case sensitive" data?

    As aytee said strComp with binary option can check case sensitive.

    You can open the code, but you need to identify your requirement.

  6. #6
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    In general, Access is case insensitive so it would treat cheeco, CHEECO, cHeeCo and any other combination as the same in the user name box.
    The only way to get what you want is the StrComp function given in the link by aytee.
    Note that counterintuitively, the result is 0 if the compared values are the same and 1/-1 if different.
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  7. #7
    CHEECO is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2016
    Posts
    156
    Lets say the user has a user name that is "Buddy" and a password that "Holly" and that is what is stored in the table. As it is the user can type in his user name like "buddY" and his password "hollY" and he is still granted access and logged in. What I want accomplish is that the user not be granted access unless the user types in his or her user name and password exactly how it is stored in the table.

  8. #8
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Understood. Use StrComp as already explained.
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Case sensitive query
    By Panzerattack in forum Queries
    Replies: 3
    Last Post: 02-11-2017, 12:15 PM
  2. Case Sensitive Inner Join
    By Rriemer in forum Queries
    Replies: 3
    Last Post: 10-13-2015, 01:24 PM
  3. Validate password case sensitive
    By puuts in forum Programming
    Replies: 3
    Last Post: 01-21-2014, 12:12 PM
  4. Textbox Case Sensitive
    By cbrsix in forum Programming
    Replies: 19
    Last Post: 06-25-2012, 10:52 AM
  5. is access case-sensitive?
    By pen in forum Programming
    Replies: 1
    Last Post: 04-07-2009, 05:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums