Hi There,
I am currently having a problem with my database. I have a table that uses Lookup fields, to check another table, which is linked to my reporting form. I am trying to do a query where I search for a value in my main table's lookup field and sort it by a select amount of dates (sort monthly) but when I use the count function to see how many of the values are in the table for the select month, I get back a long table with every date seperate and the value "1" for the count. I want to to see this data as e.g. "January - ECR = 17, NCR = 32, Both = 78". NCR, ECR and Both are the values from my lookup field (Both is where NCR and ECR are selected on the same record, not the sum of both). I can't seem to get my head around the problem here. I thought it may be my Dates because they are in the format "12/12/2008" and I want the results to say December. Any help here will be truly appreciated.
Thanks in Advance
/Sandy
I am currently having a problem with my database. I have a table that uses Lookup fields, to check another table, which is linked to my reporting form. I am trying to do a query where I search for a value in my main table's lookup field and sort it by a select amount of dates (sort monthly) but when I use the count function to see how many of the values are in the table for the select month, I get back a long table with every date seperate and the value "1" for the count. I want to to see this data as e.g. "January - ECR = 17, NCR = 32, Both = 78". NCR, ECR and Both are the values from my lookup field (Both is where NCR and ECR are selected on the same record, not the sum of both). I can't seem to get my head around the problem here. I thought it may be my Dates because they are in the format "12/12/2008" and I want the results to say December. Any help here will be truly appreciated.
Thanks in Advance
/Sandy
Comment