I can't quite figure this one out. I help run a Girl Scout Camp and we have units assigned to Morning Flag Ceremony, Afternoon Flag Ceremony, and Flag Training (to learn HOW to do the ceremonies).
Each of these is a different activity with a different Activity ID.
A report is run for the person that does the training and it looks like:
Thursday
Unit 12 Morning Flag Ceremony 8:45 am
Unit 15 Flag Training 9:30 am
Unit 18 Flag Training 9:30 am
Unit 18 Afternoon Flag Ceremony 2:45 pm
Friday
Unit 15 Morning Flag Ceremony 8:45 am
Unit 20 Flag Training 9:30 am
Unit 24 Flag Training 9:30 am
Unit 20 Afternoon Flag Ceremony 2:45 pm
Saturday
Unit 24 Morning Flag Ceremony 8:45 am
etc.
.
.
Anyway, the person who does the training would like there to be a designator after "Flag Training" to indicate whether the unit is doing a morning or afternoon flag ceremony.
I know I could add an activity - "Flag Training - AM" and change the other to "Flag Training - PM," but I also have reports by activity and these wouldn't be the same for that report.
I was hoping that I could make a calculated field in the query to concatenate the "AM" or "PM" onto the "Flag Training" activity.
My query consists of UnitID, ActID, time, and day. The result essentially looks the same as the report:
Unit 12 Thursday Morning Flag Ceremony 8:45 am
Unit 15 Thursday Flag Training 9:30 am
Unit 18 Thursday Flag Training 9:30 am
Unit 18 Thursday Afternoon Flag Ceremony 2:45 pm
Unit 15 Wednesday Morning Flag Ceremony 8:45 am
Unit 20 Wednesday Flag Training 9:30 am
Unit 20 Wednesday Afternoon Flag Ceremony 2:45 pm
Unit 24 Wednesday Flag Training 9:30 am
etc ...
Is there a way to have a field that uses the IIF statement to return "Flag Training - AM" or "Flag Training - PM"?
Yes, I realize that she could deduce the which unit needs which training from the report ... but, I now see this as a puzzle that needs a solution.
Thanks!
Susie
Kansas