validation rule for a valid hex value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kimmer
    New Member
    • Jul 2010
    • 9

    validation rule for a valid hex value

    i am validating entry for a field which is an 8 character hex field. Do anyone have any suggestions to how I code this validation rule?
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    #2
    Are you doing this in Access Basic, or as a field validation rule?

    Comment

    • kimmer
      New Member
      • Jul 2010
      • 9

      #3
      I am coding a validation rule on a form for a field that is entered in hex

      Comment

      • NeoPa
        Recognized Expert Moderator MVP
        • Oct 2006
        • 32636

        #4
        I don't believe you can refer to the item in the ValidationRule, which would be necessary to handle :
        Code:
        IsNumeric("&H" & [ControlName])
        I suggest you handle this check in the AfterUpdate event property of the control instead.

        Comment

        Working...