A
Alan Mitchell
I am using Access 2000.
I have 2 tables in my database.
Table "Sales" contains daily sales information for a number of sales people.
It includes these fields:
REGID - unique identifier for a single sale
KAMID - identifier for sales person
CreationDate - date of sale.
Table "Targets" contains monthly targtes for each sales person. It contains
USERID - unique identifier for sales person
JAN - individual sales target for January
FEB - individual sales target for Feb
etc
etc
I can run a query to produce total sales results by salesperson by month.
My problem is I also want to add the correct sales target fopr the
appropraite month for the appropriate salesperson in order to be able to
calculate variances.
As a relative newbie this is causing me considerable difficulty.
I cannot figure out if
a) I need to learn how to use DLOOKUP or
b) My table structure is wrong or
c) I am on the totally wrong track.
Any help would be hugely appreciated.
TIA
I have 2 tables in my database.
Table "Sales" contains daily sales information for a number of sales people.
It includes these fields:
REGID - unique identifier for a single sale
KAMID - identifier for sales person
CreationDate - date of sale.
Table "Targets" contains monthly targtes for each sales person. It contains
USERID - unique identifier for sales person
JAN - individual sales target for January
FEB - individual sales target for Feb
etc
etc
I can run a query to produce total sales results by salesperson by month.
My problem is I also want to add the correct sales target fopr the
appropraite month for the appropriate salesperson in order to be able to
calculate variances.
As a relative newbie this is causing me considerable difficulty.
I cannot figure out if
a) I need to learn how to use DLOOKUP or
b) My table structure is wrong or
c) I am on the totally wrong track.
Any help would be hugely appreciated.
TIA