Hi all!
I have a really simple database with a small amount of information.
Each entry is a sales transaction made by Tom, Sue or Ben on a given day, at a given venue.
The database table looks like this:
SalesExec --------- Venue --------- Date
===============================
Tom ---------------- NewYork -------- 020103
Ben ---------------- NewYork -------- 020103
Tom ---------------- NewYork -------- 020103
Tom ---------------- NewYork -------- 030103
Sue ---------------- Texas ---------- 040103
Sue ---------------- Texas ---------- 040103
Ben ---------------- Texas ---------- 040103
Tom ---------------- NewYork -------- 050103
Sue ---------------- Texas ---------- 050103
Tom ---------------- NewYork -------- 060103
OK, So I want to ask the database the following questions.
How many transactions did Tom make on 020103?
How many transactions did Tom make in total?
How many transactions were there in Texas on 040103?
At the moment I can get the database to count the total amount of transactions made by each person but not by person and date.
I am using this formula =Sum([SalesExec]="Sue") and this will tell me how many Sue did in total.
Ideally I would like to do this in a form and have dropdown boxes for each person and venue and then a text field for the date. The answer would just appear in a box
Can some one help me here.. I know these are relatively simple fomulas and I am really keen to figure out how it all works
Thanks
I have a really simple database with a small amount of information.
Each entry is a sales transaction made by Tom, Sue or Ben on a given day, at a given venue.
The database table looks like this:
SalesExec --------- Venue --------- Date
===============================
Tom ---------------- NewYork -------- 020103
Ben ---------------- NewYork -------- 020103
Tom ---------------- NewYork -------- 020103
Tom ---------------- NewYork -------- 030103
Sue ---------------- Texas ---------- 040103
Sue ---------------- Texas ---------- 040103
Ben ---------------- Texas ---------- 040103
Tom ---------------- NewYork -------- 050103
Sue ---------------- Texas ---------- 050103
Tom ---------------- NewYork -------- 060103
OK, So I want to ask the database the following questions.
How many transactions did Tom make on 020103?
How many transactions did Tom make in total?
How many transactions were there in Texas on 040103?
At the moment I can get the database to count the total amount of transactions made by each person but not by person and date.
I am using this formula =Sum([SalesExec]="Sue") and this will tell me how many Sue did in total.
Ideally I would like to do this in a form and have dropdown boxes for each person and venue and then a text field for the date. The answer would just appear in a box
Can some one help me here.. I know these are relatively simple fomulas and I am really keen to figure out how it all works

Thanks