Results 1 to 2 of 2
  1. #1
    jrosen12 is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2014
    Posts
    5

    Register Form w/ Error Handling VBA Code


    I've been trying to google possible solutions to what I'm looking for. I find a mixture of what I want to do, but whenever I implement the examples and alter to what I need, it's just not working. It could be just the lack of understanding of how the error handling works in VBA.

    I have a registration form that I'm playing around with. I'd like for it to do the following:
    * If all conditions are met (username doesn't match a record on tblUser, both password fields match each other) then the username and password will be added to the table.
    * If there is an issue with the username matching a record on the table tblUser, then display an error message
    * If the password and the "reenterpassword" text does not match, then display an error message stating so.

    I've been able to accomplish the password/reenterpassword part just fine; however, I am having difficulty with the username error handling.

    Any suggestions?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Post code and/or the db for analysis.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Error handling of table update error?
    By panoss in forum Forms
    Replies: 5
    Last Post: 10-31-2014, 02:06 PM
  2. Error Handling Question - On Error Goto
    By redbull in forum Programming
    Replies: 7
    Last Post: 12-06-2012, 07:54 AM
  3. Error Handling on Form
    By brownk in forum Forms
    Replies: 11
    Last Post: 09-07-2012, 11:52 AM
  4. Replies: 3
    Last Post: 09-05-2012, 10:23 AM
  5. Error 2501 displays with Error handling
    By agent- in forum Programming
    Replies: 13
    Last Post: 08-05-2011, 02:20 PM

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