Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Sep 2006
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Validation ? (Access 2000)

    i want to forbid the figues in my tables to be less than 0. For example if there is a substraction 1 - 2 the result should not be -1 but instead a message that something is wrong. How can i achieve that? Shal i use the validation Rule in the table ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Validation ? (Access 2000)

    Open the table in design view.
    Click in a field.
    Click in the Validation Rule box.
    Enter >=0 Or Is Null
    Click in the Validation Message box.
    Type a warning, for example Negative values not allowed
    Repeat for the other fields that should not be negative.

    Note: tables do not contain calculated fields. Queries can have calculated fields, and forms can have calculated controls.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •