I am having an issue with one of my queries I'm hoping someone can help me with.
I have a query that I need to calculate the $ amount of sales per Salesman for the year. However, it is not pulling up the salesmen with no sales.
I have two tables. tblSalesman and tblContractInfo.
tblSalesman: SalesID, SalesmanName, Location
tblContractInfo: Total$, Year, Month
This is what the fields look like in my query
Location: "*NV*"
SalesID:
SalesmanName:
Total: Sum(nz([Total$],0))
Years: nz(DatePart("yyyy",[Date]))
Months: nz(DatePart("m",[Date]))
If I take out Total, Year, Months it shows me all the salesman
It won't show salesman with no sales for this year.
Any ideas???????
Thanks
Brandy
I have a query that I need to calculate the $ amount of sales per Salesman for the year. However, it is not pulling up the salesmen with no sales.
I have two tables. tblSalesman and tblContractInfo.
tblSalesman: SalesID, SalesmanName, Location
tblContractInfo: Total$, Year, Month
This is what the fields look like in my query
Location: "*NV*"
SalesID:
SalesmanName:
Total: Sum(nz([Total$],0))
Years: nz(DatePart("yyyy",[Date]))
Months: nz(DatePart("m",[Date]))
If I take out Total, Year, Months it shows me all the salesman
It won't show salesman with no sales for this year.
Any ideas???????
Thanks
Brandy