Results 1 to 3 of 3
  1. #1
    JBros is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    21

    Creating a criteria for a query on an automated field

    Hello,



    I want to make a query under a certain circumstance in one of the fields, which is an calculated field. It shows percentages referring other 2 fields, and I'd like to stablish as a criteria that percentage to be greater than 20%.

    I'm not sure what is the syntaxis, as >20, >20%, ">20%"... etc doesn't seem to work. I also edited the null values (there was two of them) if this could cause the error but still struggling to find a solution. Any ideas on how to do that?

    Thank you.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    "doesn't work" means what - error message, wrong results, nothing happens?

    Is the field set with percentage format? Possibly the value in the field is actually a decimal so try >0.20
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    JBros is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    21
    That's right, this was the problem. Thank you very much!

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

Similar Threads

  1. Replies: 2
    Last Post: 09-11-2015, 12:42 PM
  2. Replies: 3
    Last Post: 08-05-2015, 12:06 PM
  3. Replies: 3
    Last Post: 06-26-2014, 03:02 PM
  4. Help in creating an automated macro/query
    By rexer231 in forum Macros
    Replies: 1
    Last Post: 06-02-2014, 10:05 AM
  5. creating automated ticket number
    By speak2des in forum Access
    Replies: 1
    Last Post: 02-25-2010, 11:32 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