Results 1 to 4 of 4
  1. #1
    djspod is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    164

    Prevent User Errors with form. - Looking for advice

    Hi All,



    I have built a form which is now working very well and nearly finished in my DB.

    Before letting it loose with the users I want to 'Idiot proo'f' it from breaking on the user.

    If the User starts to initiate a new Record but only goes part way in and then decides to click a button for another section of the database (Fills a couple of records in, generates the auto Ref ID)

    Access then complains that the record is not finished , there is no record matching a field and another field etc. etc.

    I know what that is complaining about but the user won't know or understand, I want to stop this from happening and prompt the user to do the right thing to either complete the started record or End/reset it (Like pressing the escape key)

    Can anyone share any advice on the right direction to tackle this?

    Thanks

    Darren



    Attachment 28276

    Attachment 28277

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You do know that every form has an error event that can intercept those type of errors, right? You can then put up your own explanation of the issue and keep the system error from showing.

  3. #3
    djspod is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    164
    Hi RuralGuy,

    That's kind of what I was asking and how?

    I'm still fairly new to VBA and error handling

    Thanks

    Darren

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Post back if it is still not cooperating but see if this link helps at all: http://allenbrowne.com/ser-23a.html

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

Similar Threads

  1. Prevent user adding duplicate data in form
    By littlejnz in forum Forms
    Replies: 1
    Last Post: 06-30-2014, 08:28 AM
  2. Replies: 10
    Last Post: 10-22-2013, 07:35 AM
  3. Replies: 2
    Last Post: 02-29-2012, 01:09 PM
  4. Replies: 3
    Last Post: 01-05-2012, 09:57 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