Results 1 to 2 of 2
  1. #1
    benjaminporter.dc is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    2

    Domain Sum Error

    Hello,



    Thanks in advance for any help you can provide. I'm trying to use a domain sum function in a query to simultaneously show the employee id, salary for each employee, and the sum of all salaries in the domain (tblEmpDet).



    SELECT tblEmpDet.EMPLOYEE_NUMBER, tblEmpDet.BASE_SALARY, DSum([tblEmpDet]![BASE_SALARY],"tblEmpDet") AS SumSalaries
    FROM tblEmpDet;

    What I wind up with is Emp Number, Salary, and instead of a domain sum, I get the salary multiplied by 100.

    Any thoughts?

  2. #2
    benjaminporter.dc is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    2
    It appears that the function is multiplying the salary by the number of records in the table (100 records).

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

Similar Threads

  1. Group by the Emails ISP or Domain Name
    By Shakenaw in forum Access
    Replies: 7
    Last Post: 01-06-2011, 10:07 AM
  2. Error 438 error in Access 97
    By Bones in forum Access
    Replies: 3
    Last Post: 01-05-2011, 10:12 PM
  3. Replies: 2
    Last Post: 12-02-2010, 02:35 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