Results 1 to 2 of 2
  1. #1
    UTS is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Downunder
    Posts
    17

    Multiple validations in same field

    I need to enter into a field either Null OR "N" OR "Pnnn" The Pnnn is a unique number between P001 and P999.



    Obviously the "no duplicates" rule for Pnnn will interfere with the "N" entries. Is there a way around this?

    Alternately, the operators who enter Null or "N" use one form, and the operators who enter Null or Pnnn use a different form. Is it possible to create different validation rules that are tied to the respective forms?

    Cheers

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You can effectively validate this scheme in the BeforeUpdate event of a control on a Form.

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

Similar Threads

  1. Replies: 1
    Last Post: 08-11-2011, 11:33 AM
  2. Multiple field results
    By ronchetc in forum Queries
    Replies: 1
    Last Post: 05-24-2011, 10:03 AM
  3. Simple Problem with Validations
    By oleBucky in forum Forms
    Replies: 11
    Last Post: 04-12-2011, 05:39 PM
  4. Validations
    By Icewolf0927 in forum Forms
    Replies: 1
    Last Post: 09-24-2010, 09:54 AM
  5. Replies: 1
    Last Post: 12-10-2009, 08:41 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