Results 1 to 2 of 2
  1. #1
    nwood is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Apr 2017
    Posts
    7

    ERROR in formula and Paramter Values

    Hi All,



    I have been working on query and have run into a few problems.

    First, I have deleted certain calculated fields in my query, but every time I launch my query, dialog boxes pop up asking me to enter parameter values for these deleted fields. How can I prevent these dialog boxes from popping up?

    Also, I am having a problem with an iif formula. In datasheet view, I get #ERROR in the column of this field. The formula is listed below...

    USP < USCP Last 12 Months: IIf([TotalValue]=0,0,IIf([ACCRUAL_or_NOT]=0,0,IIf([%ProvisionCalculated]<0,IIf([%ProvisionCalculated]<-1,-1,[%ProvisionCalculated]),0)))

    Any help would be greatly appreciated!

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Do you have a "<" in the name of this calculated field? That could be causing issues.
    You should really avoid using special characters like "<" in variable or field names, and "%" too (especially starting field names with those characters).
    Recommend naming of objects, fields, variables, etc is to just use numbers, letters, and underscores (you are even encouraged NOT to use spaces).

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

Similar Threads

  1. Switch Formula & Between two values
    By DavidQMP in forum Access
    Replies: 4
    Last Post: 04-07-2016, 07:52 AM
  2. Paramter & Form Problems
    By Korei Khan in forum Database Design
    Replies: 3
    Last Post: 10-24-2015, 10:44 AM
  3. Dynamic Date Paramter Change?
    By aellistechsupport in forum Queries
    Replies: 27
    Last Post: 08-27-2015, 01:21 PM
  4. Replies: 3
    Last Post: 03-05-2015, 04:15 PM
  5. Replies: 3
    Last Post: 10-22-2014, 02:38 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