Results 1 to 3 of 3
  1. #1
    slufoot80 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    1

    Exclamation Table validation for empty fields

    when I am entering data in a form I want to have a pop up messages that will force me to enter data or to check and make sure the field is not blank


    I have set my validation rule and validation text but it only gives me the error when I try to go to a new record and I want it to pop up when I try to tab to the next field.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    You can try the lostfocus event

  3. #3
    DerFarm is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    May 2011
    Posts
    8
    Presumably you have a text field that you don't want people to skip over, or something like that.

    if you check the actions of the form, you'll find OnLostFocus. essentially, this means when you leave the field. You can put code in this function to check that the field is not null. If the field IS null ... THEN use the popup with the appropriate message.

    Good luck

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

Similar Threads

  1. summation with empty fields
    By danieltaylor in forum Access
    Replies: 3
    Last Post: 11-05-2012, 01:35 AM
  2. Replies: 2
    Last Post: 04-23-2012, 10:13 PM
  3. Replies: 4
    Last Post: 11-20-2011, 01:08 PM
  4. Replies: 1
    Last Post: 11-19-2010, 09:08 AM
  5. Replies: 2
    Last Post: 10-23-2010, 09:38 AM

Tags for this Thread

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