G
Gina
Hi All!
I'm trying to create a database to track employee
violations (such as Absences, Tardies, etc.)
I have the basics down, but here's where I'm running into
a roadblock:
I have an Event field and a Type field. The Event field
is text, and the Type field is a calculation: IIf(Date()-
[EventDate]>=365,"Archive","Current"). (In other words,
if an Event is more than 1 year old, it's Archived.)
I want to be able to sum all the Current Events, and then
further break them down into Current Absences, Current
Tardies, etc. I tried doing it in a query, but I was
using a lot of IIf formulas, and I ended up getting this:
Name CurrAbs CurrTardies
John Doe 1 0
John Doe 0 1
When what I want is this:
Name CurrAbs CurrTardies
John Doe 1 1
Can someone help me achieve this?
Thanks in advance.
I'm trying to create a database to track employee
violations (such as Absences, Tardies, etc.)
I have the basics down, but here's where I'm running into
a roadblock:
I have an Event field and a Type field. The Event field
is text, and the Type field is a calculation: IIf(Date()-
[EventDate]>=365,"Archive","Current"). (In other words,
if an Event is more than 1 year old, it's Archived.)
I want to be able to sum all the Current Events, and then
further break them down into Current Absences, Current
Tardies, etc. I tried doing it in a query, but I was
using a lot of IIf formulas, and I ended up getting this:
Name CurrAbs CurrTardies
John Doe 1 0
John Doe 0 1
When what I want is this:
Name CurrAbs CurrTardies
John Doe 1 1
Can someone help me achieve this?
Thanks in advance.