Results 1 to 1 of 1
  1. #1
    smatchymo is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2019
    Posts
    15

    The setting you entered isn't valid for this property - totals query

    I'm starting to feel obnoxious starting this many threads on my first project. I did solve one of my issues myself though... Anyway, in my last thread, it was mentioned that I should look into totals queries. I'm running into the error "the setting you entered isn't valid for this property" when I run it. The problem is with my TransactionYear and TransactionDate fields. The data in these fields comes from a query and they're formatted as general numbers.

    TransactionYear: Year([TransactionDate])


    TransactionMonth: Month([TransactionDate])

    The TransactionDate field is formatted as Date/Time. Is there something I can do with the formatting to fix this, or is there another way I can get the year and month number from the transaction date that won't cause me to get this error? Through testing I have confirmed that both of these fields are causing the issue. I also only get the error when creating a totals query. Other queries involving these fields work normally.

    Edit: I should add that I am able to click through the error, and the query gives me the data I'm looking for. I have to click through the error twice to get the query to run, once for each problem field.
    Edit2: I'm able to get it to work if I save the conversion from date to year# and month# until the totals query. I had previously tried left and right functions instead of the year and month functions, but I had the same issue. Tables-->Query1 w/functions converting date to year#/month#-->TotalsQuery (**FAIL**). However, Tables-->Query1-->TotalsQuery w/functions converting date to year/month# (**SUCCESS**)
    Last edited by smatchymo; 06-30-2019 at 01:06 AM.

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

Similar Threads

  1. Replies: 8
    Last Post: 01-16-2025, 02:46 AM
  2. Replies: 5
    Last Post: 03-03-2019, 06:11 PM
  3. Replies: 17
    Last Post: 08-11-2016, 08:26 AM
  4. The value you entered isn't valid for this field
    By paologucci in forum Access
    Replies: 2
    Last Post: 03-21-2016, 01:40 AM
  5. Replies: 5
    Last Post: 10-08-2012, 06:24 AM

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