Results 1 to 2 of 2
  1. #1
    smorelandii is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    7

    Textbox data validation rules.....

    Hello all...... I'm really having issues with my validation logic rule tied to a textbox in a subform. Someone please help! My head hurts... LOL! Been looking at this stuff to long today. I need to force a numeric value in a text box that will allow NULL and decimal. I realize I could change the table field data type to decimal but that is not an option here.

    Allow these characters in a text box:


    1 2 3 4 5 6 7 8 9 0 . NULL

    Heres what I have so far.... This allows numbers but not decimals

    Is Null Or Not Like "*[!0-9]*"

  2. #2
    smorelandii is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    7
    Figured it out....

    (Is Null) Or (Not Like "*[!0-9]*" And Between 30 And 240) Or (Like "*.*")

    and used BeforeUpdate to check the Len().....

    Thanks tho........

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

Similar Threads

  1. Replies: 4
    Last Post: 01-05-2011, 07:56 AM
  2. Replies: 2
    Last Post: 10-23-2010, 09:38 AM
  3. Validation Rules
    By esglover in forum Database Design
    Replies: 1
    Last Post: 07-23-2010, 08:02 PM
  4. Validation rules question
    By cps6568 in forum Access
    Replies: 3
    Last Post: 01-12-2010, 02:01 PM
  5. Data Validation - Please help
    By larry S in forum Access
    Replies: 0
    Last Post: 11-16-2008, 10:24 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