Results 1 to 2 of 2
  1. #1
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383

    If Data is Required on Form, User Enters Nothing, Trap Error

    I have my tables set so that the User must enter certain criteria for the Customer Order.When user opens the form and then attempts to close, of course messages will appear saying need data. How can I stop this from happening if NO data at all has been entered, just looking at the form.???



    User Has NOT clicked on anything!

    Form is based on Table OrderDetails. Fields below are required:
    CustomerID
    EmployeeID
    OrderDate
    Last edited by burrina; 11-30-2012 at 11:21 AM. Reason: Requirements

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    You could either check each field and if all are null then just close the form or else ask user if they want to quit without saving any data.
    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. User Required Field
    By rlsublime in forum Access
    Replies: 4
    Last Post: 03-14-2012, 02:15 PM
  2. Replies: 11
    Last Post: 09-27-2011, 07:19 AM
  3. Replies: 7
    Last Post: 03-04-2011, 12:46 PM
  4. Replies: 9
    Last Post: 03-24-2009, 09:19 PM
  5. Set required user input
    By ZeusOsiris in forum Database Design
    Replies: 2
    Last Post: 12-04-2006, 07:13 PM

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