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

    Multiple Criteria on Form,CustomerID,EmployeeID,

    How can I use vba code to check for many conditions on my form before allowing user to close out Order?



    CustomerID
    EmployeeID
    OrderDate
    OrderedBy



    and so on ?
    Attached Thumbnails Attached Thumbnails MainMenu.jpg  

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    One way:

    http://www.baldyweb.com/BeforeUpdate.htm

    repeating the test for each. You can add

    Exit Sub

    to a failed test to prevent it from testing further if you want.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 5
    Last Post: 11-15-2012, 03:33 PM
  2. Replies: 1
    Last Post: 12-04-2011, 06:33 PM
  3. Multiple Search Criteria Form
    By J77TDC in forum Forms
    Replies: 3
    Last Post: 08-09-2011, 08:50 AM
  4. Replies: 1
    Last Post: 07-13-2011, 11:00 AM
  5. Replies: 1
    Last Post: 02-03-2010, 08:17 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