Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jul 2002
    Location
    Cedar Falls, Iowa, USA
    Posts
    268
    Thanks
    0
    Thanked 0 Times in 0 Posts

    query calculation and parameter popups (A2003)

    I'm getting the calculation I want in TtlTaxRate but the query also pops up [LOSTSILO%] and [State%] as parameters. How do I include the fields without triggering the parameters?

    SELECT qryTaxRate2.OrgID, Sum(qryTaxRate2.Percentage) AS [LOSTSILO%], test.Percentage AS [State%], [LOSTSILO%]+[State%] AS TtlTaxRate
    FROM qryTaxRate2, test
    GROUP BY qryTaxRate2.OrgID, test.Percentage, [LOSTSILO%]+[State%];

    Never had this happen before.

    Thanks for your time,
    E

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

    Re: query calculation and parameter popups (A2003)

    I think this is because you are grouping on a calculated field. Set the Total option for TtlTaxRate to Expression instead of Group By.

  3. #3
    3 Star Lounger
    Join Date
    Jul 2002
    Location
    Cedar Falls, Iowa, USA
    Posts
    268
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: query calculation and parameter popups (A2003)

    that was it

Posting Permissions

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